If a test fails, bail out, the state will be indeterminate

This commit is contained in:
Andrew Ruthven 2024-02-24 17:25:26 +13:00
parent 8c378387c8
commit 59e4f2c929

View File

@ -259,6 +259,11 @@ run_regression_suite() {
./dav_test --dsn "${DSN}" ${WEBHOST} ${ALTHOST} --suite "${SUITE}" --case "${TEST}" | ./normalise_result > "${RESULTS}/${TEST}"
# Fix Vim syntax highlighting by putting an esac here. Silly, huh?
if [ $? -ne 0 ]; then
echo "Test ${TEST} failed execute, aborting"
exit 0
fi
RESULT=999
SKIPDIFF=""
while [ "${RESULT}" -gt 1 ]; do