master - tests: use aux func to disable device
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b58a0f5cd31669e789d6944ced5b42ce7c6f4f74 Commit: b58a0f5cd31669e789d6944ced5b42ce7c6f4f74 Parent: da61e6355e35ba7961b2073812c6a5639d9d541d Author: Zdenek Kabelac <[email protected]> AuthorDate: Sun Oct 26 20:41:49 2014 +0100 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu Oct 30 23:58:49 2014 +0100
tests: use aux func to disable device
--- test/shell/lvcreate-missing.sh | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
test/shell/lvcreate-missing.sh +4 -3
@@ -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