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:
parent
1c83c15963
commit
274eae592f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user