integration-test: Create a read-only fake CD-ROM device
authorMartin Pitt <martinpitt@gnome.org>
Tue, 4 Sep 2012 14:05:59 +0000 (16:05 +0200)
committerMartin Pitt <martinpitt@gnome.org>
Tue, 4 Sep 2012 15:33:05 +0000 (17:33 +0200)
commitb1affbc889ac9b70663723886ca70c2d1efc8c0e
tree17675b830a960937d4a8988034501d51fb6edc72
parenta5b01244c17b41990b566254065bfce0d38b5e64
integration-test: Create a read-only fake CD-ROM device

We will need this for further tests, e. g. to reproduce
https://bugs.freedesktop.org/show_bug.cgi?id=53237 or to check required
privileges for a removable device.

scsi_debug is not capable enough to emulate the whole SCSI CD-ROM command set,
thus we need a temporary udev rule (in /run/udev/rules.d/) to ensure that
blkid runs on scsi_debug CD devices.
src/tests/integration-test