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