mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +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 $lv1
|
||||||
check dev_md5sum $vg $lv2
|
check dev_md5sum $vg $lv2
|
||||||
check dev_md5sum $vg $lv3
|
check dev_md5sum $vg $lv3
|
||||||
get lv_field $vg name >out
|
get lv_field $vg name -a >out
|
||||||
not grep ^pvmove out
|
not grep "^\[pvmove" out
|
||||||
vgchange -an $vg
|
vgchange -an $vg
|
||||||
lvremove -ff $vg
|
lvremove -ff $vg
|
||||||
(dm_table | not grep $vg) || \
|
(dm_table | not grep $vg) || \
|
||||||
|
Loading…
Reference in New Issue
Block a user