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
Do I have to specify the path to Bash when I run a test for a Bash script? #256
Comments
I have never used this tool (looking into it for the first time), but I suspect that I think the explicit usage would look like this: |
Hello Shinichi Okada, In a Linux environment I get the following output
My simple script does not fail and find the given bash shell via "/usr/bin/env bash" and SHELLSPEC is using the bash itself. With regards, |
Having the same issue as @shinokada. DescriptionWhen running tests of script files that start with The
Note: Running Test
Code Under Test (COT)
ResultsNo
|
The doc says:
How to find the shell running shellspec?
I have a bash file to test.
But when I run
shellspec spec/bash_helpers_spec.sh
, I get errors.But when I run
shellspec spec/bash_helpers_spec.sh -s "/usr/bin/env bash"
, it passes.When I test a bash file, do I have to specify the path to Bash?
The text was updated successfully, but these errors were encountered: