diff --git a/test/shell/stress_multi_threads_1.sh b/test/shell/stress_multi_threads_1.sh index e76810bbb..c5695eb0b 100644 --- a/test/shell/stress_multi_threads_1.sh +++ b/test/shell/stress_multi_threads_1.sh @@ -22,8 +22,8 @@ get_devs pvcreate -M2 "${DEVICES[@]}" -vgcreate --shared -M2 "$vg1" "$dev1" "$dev2" "$dev3" -vgcreate --shared -M2 "$vg2" "$dev4" "$dev5" "$dev6" +vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3" +vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6" test_vg_thread1() { diff --git a/test/shell/stress_multi_threads_2.sh b/test/shell/stress_multi_threads_2.sh index 4e72b7447..9b586a263 100644 --- a/test/shell/stress_multi_threads_2.sh +++ b/test/shell/stress_multi_threads_2.sh @@ -26,14 +26,14 @@ test_vg_thread1() { for i in {1..1000} do - vgcreate --shared -M2 "$vg1" "$dev1" "$dev2" "$dev3" + vgcreate $SHARED -M2 "$vg1" "$dev1" "$dev2" "$dev3" vgremove -ff $vg1 done } test_vg_thread2() { - vgcreate --shared -M2 "$vg2" "$dev4" "$dev5" "$dev6" + vgcreate $SHARED -M2 "$vg2" "$dev4" "$dev5" "$dev6" for i in {1..1000} do