Skip to content

Commit

Permalink
fix bug: stop command in tests reports as if the following tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Feb 11, 2020
1 parent 2388084 commit bc7bdcb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libexec/baut--test-behavior
Expand Up @@ -476,6 +476,7 @@ _baut_exit_trap() {
else
baut_report_code_err "$BAUT_TEST_FUNCTION_NAME"
if [ ${baut_test_options[stopOnError]} -eq 1 ] || [ $trap_exit_status -eq 3 ]; then
baut_report_code_end_test "$BAUT_TEST_FUNCTION_NAME" "$trap_exit_status"
exit $trap_exit_status
fi
fi
Expand Down

0 comments on commit bc7bdcb

Please sign in to comment.