1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-10-27 18:55:19 +03:00

test: Ensure that outdated PVs are wiped just once.

This commit is contained in:
Petr Rockai 2015-06-10 16:27:59 +02:00
parent 632dde0cbc
commit 9c0049b1ce

View File

@ -45,4 +45,10 @@ check_
test -e LOCAL_LVMETAD && lvremove $vg/boo # FIXME trigger a write :-(
check_ not
aux disable_dev "$dev1"
vgreduce --removemissing --force $vg
aux enable_dev "$dev1"
vgs 2>&1 | grep 'Removing PV'
vgs 2>&1 | not grep 'Removing PV'
vgremove -ff $vg