1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

tests: use aux func to disable device

This commit is contained in:
Zdenek Kabelac 2014-10-26 20:41:49 +01:00
parent da61e6355e
commit b58a0f5cd3

View File

@ -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