Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Shell error messages different on different versions of linux. #64

Closed
rykal-nate opened this issue Jan 16, 2020 · 1 comment
Closed
Assignees

Comments

@rykal-nate
Copy link
Contributor

rykal-nate commented Jan 16, 2020

When testing #57, our CI/CD system tests fail because /bin/sh has a different error response when an invalid command is specified.

root@9a9fc7d528b1:/project/user-app# bad
bash: bad: command not found
root@9a9fc7d528b1:/project/user-app# sh

bad

sh: 1: bad: not found

echo $0

sh

exit

root@9a9fc7d528b1:/project/user-app# echo $0
bash

This issue updates the tests tolerate both variants.

@rykal-nate rykal-nate self-assigned this Jan 16, 2020
@rykal-nate
Copy link
Contributor Author

Fixed committed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant