]> sourceware.org Git - lvm2.git/commitdiff
tests: pvscan-cache try to fix teardown problems
authorDavid Teigland <teigland@redhat.com>
Wed, 22 May 2019 16:55:48 +0000 (11:55 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 22 May 2019 16:55:48 +0000 (11:55 -0500)
teardown after the test was failing, probably because
of uncoordinated udev actions running on the test
system.  Try to avoid this by doing some work before
teardown.

test/shell/pvscan-cache.sh

index e0576f905c864c44c134ddf85971ef53718c690f..87885941bcae5bb6caae9d07d048ab5be505b1f5 100644 (file)
@@ -75,4 +75,7 @@ aux enable_dev "$dev2"
 pvscan --cache
 check pv_field "$dev1" vg_name "$vg1"
 
+vgchange -an $vg1
+lvremove $vg1/$lv1
+
 vgremove -ff $vg1
This page took 0.034676 seconds and 5 git commands to generate.