mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: add double quotes around add_to_kill_list parms
This commit is contained in:
parent
d7888e8316
commit
d9176782fe
@ -51,11 +51,11 @@ if test -z "$backgroundarg" ; then
|
|||||||
lvs -a $vg $vg1
|
lvs -a $vg $vg1
|
||||||
else
|
else
|
||||||
"${cmd1[@]}"
|
"${cmd1[@]}"
|
||||||
aux add_to_kill_list ${cmd1[*]} -P 1
|
aux add_to_kill_list "${cmd1[*]}" -P 1
|
||||||
"${cmd2[@]}"
|
"${cmd2[@]}"
|
||||||
aux add_to_kill_list ${cmd2[*]} -P 1
|
aux add_to_kill_list "${cmd2[*]}" -P 1
|
||||||
"${cmd3[@]}"
|
"${cmd3[@]}"
|
||||||
aux add_to_kill_list ${cmd3[*]} -P 1
|
aux add_to_kill_list "${cmd3[*]}" -P 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# test removal of all pvmove LVs
|
# test removal of all pvmove LVs
|
||||||
|
@ -41,9 +41,9 @@ if test -z "$backgroundarg" ; then
|
|||||||
aux wait_pvmove_lv_ready "$vg-pvmove1"
|
aux wait_pvmove_lv_ready "$vg-pvmove1"
|
||||||
else
|
else
|
||||||
"${cmd1[@]}"
|
"${cmd1[@]}"
|
||||||
aux add_to_kill_list ${cmd1[*]} -P 1
|
aux add_to_kill_list "${cmd1[*]}" -P 1
|
||||||
"${cmd2[@]}"
|
"${cmd2[@]}"
|
||||||
aux add_to_kill_list ${cmd2[*]} -P 1
|
aux add_to_kill_list "${cmd2[*]}" -P 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# remove specific device
|
# remove specific device
|
||||||
|
@ -334,9 +334,9 @@ check_and_cleanup_lvs_
|
|||||||
|
|
||||||
#COMM "pvmove abort"
|
#COMM "pvmove abort"
|
||||||
restore_lvs_
|
restore_lvs_
|
||||||
cmd=$(echo -n pvmove $mode -i100 -b "$dev1" "$dev3")
|
cmd=(pvmove $mode -i100 -b "$dev1" "$dev3")
|
||||||
$cmd
|
"${cmd[@]}"
|
||||||
aux add_to_kill_list "$cmd" "-P 1"
|
aux add_to_kill_list "${cmd[*]}" -P 1
|
||||||
pvmove --abort
|
pvmove --abort
|
||||||
check_and_cleanup_lvs_
|
check_and_cleanup_lvs_
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user