From: Zdenek Kabelac Date: Sun, 26 Oct 2014 19:41:49 +0000 (+0100) Subject: tests: use aux func to disable device X-Git-Tag: v2_02_112~85 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b58a0f5cd31669e789d6944ced5b42ce7c6f4f74;p=lvm2.git tests: use aux func to disable device --- diff --git a/test/shell/lvcreate-missing.sh b/test/shell/lvcreate-missing.sh index 2b740525d..4553e98e8 100644 --- a/test/shell/lvcreate-missing.sh +++ b/test/shell/lvcreate-missing.sh @@ -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