You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: