mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
tests: use aux func to disable device
This commit is contained in:
parent
da61e6355e
commit
b58a0f5cd3
@ -12,10 +12,11 @@
|
|||||||
. lib/inittest
|
. lib/inittest
|
||||||
|
|
||||||
aux prepare_vg 2
|
aux prepare_vg 2
|
||||||
init_udev_transaction
|
|
||||||
dmsetup remove -f "$dev1" || true
|
aux disable_dev "$dev1"
|
||||||
finish_udev_transaction
|
|
||||||
|
|
||||||
not lvcreate -n "foo" $vg -l 1
|
not lvcreate -n "foo" $vg -l 1
|
||||||
|
|
||||||
|
aux enable_dev "$dev1"
|
||||||
|
|
||||||
vgremove -ff $vg
|
vgremove -ff $vg
|
||||||
|
Loading…
Reference in New Issue
Block a user