1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

tests: fix checking for pvmove LV

Use consitently egrep.

TODO: make probably aux func
This commit is contained in:
Zdenek Kabelac 2016-11-14 12:55:43 +01:00
parent a7691cdebb
commit e7da8e7e1f
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ test_pvmove_resume() {
aux enable_dev "$dev2"
i=0
while get lv_field $vg name -a | grep "^pvmove"; do
while get lv_field $vg name -a | egrep "^\[?pvmove"; do
# wait for 30 secs at max
test $i -ge 300 && die "Pvmove is too slow or does not progress."
sleep .1

View File

@ -89,7 +89,7 @@ test_pvmove_resume() {
aux enable_dev "$dev5"
i=0
while get lv_field $vg name -a | grep "^\[?pvmove"; do
while get lv_field $vg name -a | egrep "^\[?pvmove"; do
# wait for 30 secs at max
test $i -ge 300 && die "Pvmove is too slow or does not progress."
sleep .1