testsuite: Move to scsi_debug
authorMartin Pitt <martin.pitt@ubuntu.com>
Wed, 29 Sep 2010 11:50:17 +0000 (13:50 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Wed, 29 Sep 2010 11:50:17 +0000 (13:50 +0200)
commit337c180cd69e1ff3eb8fc2c1b77abdba5feb3967
tree8f3abe8b0ad8a49a51fe0855c461fe30d33cddc7
parente180c5738e8d997090f29f67308f4ecb4fab1656
testsuite: Move to scsi_debug

Drop the usage of loop devices and move to scsi_debug. This provides much more
realistic behaviour (such as partitioning) and avoids using a kind of device
which udisks special-cases. scsi_debug fake devices can also be forcibly
removed (unlike loop and md), thus we can write test cases to check the cleanup
in this case.

Since scsi_debug only provides one (independent) test device, reorganize the
code a little to either just use one that one device (for most tests such as FS
or Smart), or use two partitions on that (for the LVM PVs).

Drop the "Loop" test case; it is not that interesting.
tests/run