Skip to content

Commit 286389b

Browse files
committed
Fix typo in run_tests.sh for checking sanity check RC (#6911)
PR #6860 added support of return different return code in post sanity check. However, that PR introduced a typo in the run_tests.sh. This change is to fix the typo. Signed-off-by: Xin Wang <[email protected]>
1 parent 6413afb commit 286389b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run_tests.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ function run_individual_tests()
305305
fi
306306
else
307307
# rc 10 means pre-test sanity check failed, rc 12 means boths pre-test and post-test sanity check failed
308-
if [ ${ret_code} -eq 10 ] || [${ret_code} -eq 12 ]; then
308+
if [ ${ret_code} -eq 10 ] || [ ${ret_code} -eq 12 ]; then
309309
echo "=== Sanity check failed for $test_script. Skip rest of the scripts if there is any. ==="
310310
return ${ret_code}
311311
fi

0 commit comments

Comments
 (0)