mirror of
git://sourceware.org/git/lvm2.git
synced 2025-03-06 00:58:48 +03:00
tests: fix check for existence of a pvmove Lv
This commit is contained in:
parent
f1e3e99169
commit
c8caa04b1c
@ -69,8 +69,8 @@ check_and_cleanup_lvs_() {
|
||||
check dev_md5sum $vg $lv1
|
||||
check dev_md5sum $vg $lv2
|
||||
check dev_md5sum $vg $lv3
|
||||
get lv_field $vg name >out
|
||||
not grep ^pvmove out
|
||||
get lv_field $vg name -a >out
|
||||
not grep "^\[pvmove" out
|
||||
vgchange -an $vg
|
||||
lvremove -ff $vg
|
||||
(dm_table | not grep $vg) || \
|
||||
|
Loading…
x
Reference in New Issue
Block a user