-
Notifications
You must be signed in to change notification settings - Fork 11
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
CI tests verifying bash version support #5
Comments
Thanks for catching this. I've actually not tested this in various bash versions, so this is helpful. The features required should be supported in 4.1 according to the bash changelog. Can you please link/paste the errors here? |
comment 1/3 debian "buster" (bash 5) and "stretch" (bash 4.4) tests pass with the following message
alpine-based containers with bash 5 and 4.4 display this message
comment 1/3 |
comment 2/3 debian "jessie" (bash 4.3) and "wheezy" (4.2) outputs
alpine-based containers with bash 4.3 and 4.2 display this message
comment 2/3 |
comment 3/3 debian "squeeze" (bash 4.1) output
an alpine container with bash 4.1 outputs similar results
comment 3/3 |
This error maybe because Alpine images use awk from Busybox rather than gawk. Alpine containers need this: Lines 9 to 10 in dcb5de3
I'll take a look at the other errors tomorrow. |
sounds good! the awk/gawk fix you suggested did resolve that issue 👍 |
Ok, did some digging into this today. I installed versions 4.1 - 4.3 on my MacBook and all seem to pass fine:
I have no idea what's causing this 😕 Could you try printing the actual bash version in |
Hmm. We may be encountering a difference between bash on mac vs. linux. I ran
I'm able to reproduce the issue locally (screenshots below) I'll try to find time in the next week or two to investigate a cause and hopefully make a fix (unless someone beats me to it). bash 4.3 on Ubuntu 16 bash 4.2 on Debian 7 Wheezy If I write a fix then I'll also test on Debian 6 Squeeze which runs bash 4.1 before I submit a PR |
I submitted a pr #8 with fixes and automated testing for bash 4.2 and above. I hope that change looks okay for merging. I haven't enabled tests for bash 4.1 because I'm now seeing this issue
|
First of all: great work! I especially love the coverage feature.
I put together some circleci tests that runs the test script with different bash versions
I believe the readme said bash 4.1 and above should work, but I can only get debian versions "buster" (bash 5) and "stretch" (bash 4.4) to pass successfully.
Would you prefer I describe the errors I'm seeing as separate issues or each one within this issue?
The text was updated successfully, but these errors were encountered: