]> sourceware.org Git - lvm2.git/commitdiff
tests: use aux func to disable device
authorZdenek Kabelac <zkabelac@redhat.com>
Sun, 26 Oct 2014 19:41:49 +0000 (20:41 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Thu, 30 Oct 2014 22:58:49 +0000 (23:58 +0100)
test/shell/lvcreate-missing.sh

index 2b740525d6a1c665f882e9914cc403d41559b348..4553e98e8dd12a6fc1eff0f639c6af52006638c0 100644 (file)
 . 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
This page took 0.032156 seconds and 5 git commands to generate.