diff options
Diffstat (limited to 'test/shell')
-rw-r--r-- | test/shell/pvmove-abort-all.sh | 4 | ||||
-rw-r--r-- | test/shell/pvmove-abort.sh | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/shell/pvmove-abort-all.sh b/test/shell/pvmove-abort-all.sh index c18467c87..872db041e 100644 --- a/test/shell/pvmove-abort-all.sh +++ b/test/shell/pvmove-abort-all.sh @@ -53,10 +53,10 @@ cmd3=(pvmove -i1 $backgroundarg $mode -n $vg1/$lv1 "$dev4" "$dev6") if test -z "$backgroundarg" ; then "${cmd1[@]}" & + aux wait_pvmove_lv_ready "$vg-pvmove0" "${cmd2[@]}" & "${cmd3[@]}" & - aux wait_pvmove_lv_ready "$vg-pvmove0" "$vg-pvmove1" "$vg1-pvmove0" - lvs -a $vg $vg1 + aux wait_pvmove_lv_ready "$vg-pvmove1" "$vg1-pvmove0" else LVM_TEST_TAG="kill_me_$PREFIX" "${cmd1[@]}" LVM_TEST_TAG="kill_me_$PREFIX" "${cmd2[@]}" diff --git a/test/shell/pvmove-abort.sh b/test/shell/pvmove-abort.sh index 2917318f4..86f24176e 100644 --- a/test/shell/pvmove-abort.sh +++ b/test/shell/pvmove-abort.sh @@ -42,13 +42,13 @@ cmd2=(pvmove -i1 $backgroundarg $mode "$dev2" "$dev3") if test -z "$backgroundarg" ; then "${cmd1[@]}" & + aux wait_pvmove_lv_ready "$vg-pvmove0" "${cmd2[@]}" & - aux wait_pvmove_lv_ready "$vg-pvmove0" "$vg-pvmove1" + aux wait_pvmove_lv_ready "$vg-pvmove1" else LVM_TEST_TAG="kill_me_$PREFIX" "${cmd1[@]}" LVM_TEST_TAG="kill_me_$PREFIX" "${cmd2[@]}" fi - # remove specific device pvmove --abort "$dev1" |