File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ function func_exit_handler()
2121
2222 line_no=${BASH_LINENO[$((i-1))]} || true
2323 # BASH_LINENO doesn't always work
24- if [ $line_no -gt 1 ]; then line_no=" :$line_no " ; else line_no=" " ; fi
24+ if [ " $line_no " -gt 1 ]; then line_no=" :$line_no " ; else line_no=" " ; fi
2525
2626 dloge " ${FUNCNAME[i]} () @ ${BASH_SOURCE[i]}${line_no} "
2727 done
@@ -76,7 +76,7 @@ function func_exit_handler()
7676 printf \
7777 ' https://github.com/thesofproject/sof/issues/5352\n' |
7878 sudo tee -a " $logfile "
79- if [ $exit_status = 0 ]; then
79+ if [ " $exit_status " = 0 ]; then
8080 exit_status=2 # skip
8181 fi
8282 else # 5352 corruption affects only Zephyr for some unknown reason
@@ -197,7 +197,7 @@ function func_exit_handler()
197197 fi
198198 }
199199
200- print_test_result_exit $exit_status
200+ print_test_result_exit " $exit_status "
201201}
202202
203203print_test_result_exit ()
You can’t perform that action at this time.
0 commit comments