testsuite: LVM: fix naming assumptions
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 27 Sep 2010 15:05:20 +0000 (17:05 +0200)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 27 Sep 2010 15:05:20 +0000 (17:05 +0200)
commitcb9263122e90391bd9fe4a2d8859c596030ecdda
tree266ca7ca0be0092e8bcb4442f377f52c66906683
parent495356d0457ce99807a90d0de0f17e305d7e46ce
testsuite: LVM: fix naming assumptions

The LVM tests previously assumed that LVM devices had their primary device node
in /dev/mapper/. However, under the current udev rule device names should match
the kernel name, i. e. /dev/dm-*, and /dev/mapper/ should merely contain
symlinks.

Drop the /dev/mapper/* assumptions and just check whether there is a by-id/
symlink with the LV name.
tests/run