appsody / controller

Appsody controller running in the development container. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
2 stars 12 forks source link

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

Closed rykal-nate closed 4 years ago

rykal-nate commented 4 years ago

When testing https://github.com/appsody/controller/pull/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 commented 4 years ago

Fixed committed.