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
testshell_markdown should be disabled if bash
is not available
#2077
Comments
Thank you for reporting the problem! As long term goal we want to get rid of bash, see #1938. But excluding tests that need bash on a system without bash seems to be useful and not too much work. Greping for "env bash" it looks like the shell recorder is the only part which needs bash. So a check and if in |
I tried implementing it via find_program but that produced more exclusion messages as I liked (I wanted to print exactly 1 if bash could not be found) |
I will probably just rewrite the shell recorder wo work with sh... |
@sanssecours I am getting close now. But can you explain to me what happens here? That part isn't even parsing for me on bash :X EDIT: NVM got it, sorry for the ping |
This line uses a feature called process substitution to compare two “files” with
Wikipedia states that this feature is quite old:
. Maybe you are using bash in cat <(echo bla)
#> bla
set -o posix
cat <(echo bla)
# STDERR: syntax error near unexpected token `(' ? |
This commit closes ElektraInitiative#2077.
Steps to Reproduce the Problem
build and run ctest on a system without bash.
Expected Result
bash dependent tests are not executed
Actual Result
System Information
Further Log Files and Output
https://build.libelektra.org/jenkins/blue/organizations/jenkins/libelektra/detail/PR-2063/52/pipeline/444
The text was updated successfully, but these errors were encountered: