1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-02-27 01:57:55 +03:00

tests: skip if the system already uses tested minor

This commit is contained in:
Zdenek Kabelac 2013-05-31 12:48:37 +02:00
parent 1c83c15963
commit 274eae592f

View File

@ -11,6 +11,10 @@
. lib/test
# Just skip this test if minor is already in use...
dmsetup info | tee info
egrep "^Major, minor: *[0-9]+, 123" info && skip
aux prepare_vg 2
lvcreate -a n --zero n -l 1 -n foo $vg
lvchange $vg/foo -My --major=255 --minor=123