diff --git a/BM/workload-xsave/start_test.sh b/BM/workload-xsave/start_test.sh index cba778fc..3641dddb 100755 --- a/BM/workload-xsave/start_test.sh +++ b/BM/workload-xsave/start_test.sh @@ -32,9 +32,9 @@ test_single () { # mode2: test workloads in all break_reason test_all () { -for ((i=1; i<=5; i++)) +break_reasons=("yield" "sleep" "trap" "signal" "futex") +for break_reason in "${break_reasons[@]}"; do - break_reason=$i test_single done }