-
-
Notifications
You must be signed in to change notification settings - Fork 55
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
bash_unit won't work with bash 3 #34
Comments
Created this docker image to have bash 3-2 beta to test against. I can reproduce the issue with it. |
pgrange
added a commit
that referenced
this issue
Jan 27, 2017
to use another bash command than this one. For instance when testing bash_unit against bash 3 for issue #34.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A user reporting:
I recently ran into some compatibility issues when trying to apply bash_unit on a system that only runs Bash 3 (on a SuSE 11 SP 4). I found the tagged revision v1.1.0 (without the Unicode stuff with \u prints, not supported before Bash 4) a good starting point. The behaviour of ‘set -e’ was changed to Bash 4, causing tests to abruptly die on Bash 3 if a subshell exited with non-zero. I added a check for Bash version before using ‘set -e', and with this change bash_unit seems to run without problems also on Bash 3.
We could at least document that bash_unit currently only have support for >= Bash 4.
The text was updated successfully, but these errors were encountered: