-
-
Notifications
You must be signed in to change notification settings - Fork 286
action_should_fail_with_message does not exit with 1 #855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Do you have an idea on how to fix 3/4? Do you need a hand? Would you rather send a PR where they fail and have me or @johnynek iterate on it to fix 3/4? |
I currently have no idea how to fix 3/4. I appreciate for the help. This is the PR #860. You may not see 4 failing since our test framework stops when it encounters the first failure. It will be better if CI can run all the tests before stopping. |
Closed via #1198 |
action_should_fail_with_message
is not working as expected. Changing the failing message doesn't fail the test sinceaction_should_fail_with_message
doesn'texit 1
in theelif [ $GREP_RES -ne 0 ]; then
statement.This bug affects 4 following tests:
Once
exit 1
is added, it fixes 1 and 2, but it also reveals 3 and 4 are existing failing tests.The text was updated successfully, but these errors were encountered: