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
This just happened to us on Solaris as well. AFAICT the test case incorrectly assumes that there are always some set aliases, but that doesn't have to true.
The fix is either:
choose a different build-in bash command
call something like bash.run_command("alias a='b'") to make sure, that at least one alias exists.
Similarly, the REPLWrapTestCase.test_bash_env test assumes there is PS1 always in the env output which is not the case, so the test could fail as well.
[ 156s] __________________________ REPLWrapTestCase.test_bash __________________________
[ 156s]
[ 156s] self = <tests.test_replwrap.REPLWrapTestCase testMethod=test_bash>
[ 156s]
[ 156s] def test_bash(self):
[ 156s] bash = replwrap.bash()
[ 156s] res = bash.run_command("alias")
[ 156s] > assert 'alias' in res, res
[ 156s] E AssertionError:
[ 156s] E assert 'alias' in ''
We have bash-5.0.7.1 present in the buildenviroment. Full log:
bash.txt
The text was updated successfully, but these errors were encountered: