diff --git a/test/shell/pvmove-resume-2.sh b/test/shell/pvmove-resume-2.sh index 3baa6df17..29fd2a8bc 100644 --- a/test/shell/pvmove-resume-2.sh +++ b/test/shell/pvmove-resume-2.sh @@ -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 diff --git a/test/shell/pvmove-resume-multiseg.sh b/test/shell/pvmove-resume-multiseg.sh index c22770f17..a2fbf3552 100644 --- a/test/shell/pvmove-resume-multiseg.sh +++ b/test/shell/pvmove-resume-multiseg.sh @@ -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