Skip to content
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

Migrate script-based tests from bash to sh #1109

Merged
merged 4 commits into from
Aug 13, 2018
Merged

Migrate script-based tests from bash to sh #1109

merged 4 commits into from
Aug 13, 2018

Conversation

WardF
Copy link
Member

@WardF WardF commented Aug 13, 2018

Moving from #!/bin/bash to #!/bin/sh to provide broader platform compatibility. The issue ended up not being OSX (which had a similar issue with the diff command, so I'll blame my confusion on that), but on Ubuntu sh choking on some of the shell scripts. This PR addresses this.

@WardF WardF changed the title Move script-based tests from bash to sh Migrate script-based tests from bash to sh Aug 13, 2018
@DennisHeimbigner
Copy link
Collaborator

The problem here is that I am betting that no has tried to run our tests
using real sh. Remember that on most systems, sh is the same code as bash.

@DennisHeimbigner
Copy link
Collaborator

I am confused. Are you saying there nix style platforms that have sh
but do not have bash? If, which ones?

@WardF
Copy link
Member Author

WardF commented Aug 13, 2018

Alpine Linux appears to be one of them, according to the original issue.

@WardF WardF merged commit 75060b7 into master Aug 13, 2018
@WardF WardF deleted the osx_sh_test.wif branch August 13, 2018 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants