1
0
Fork 0

fix(tests): always print actual exit status of test scenarios

This commit is contained in:
ssube 2019-11-01 05:06:04 -05:00 committed by Sean Sube
parent 6ab7d9c6e4
commit 77c1d0cde4
2 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,8 @@ ingress.extensions/gitlab created (dry run)
### Docker Build
This method does not require the usual dependencies to be installed locally, only `docker` itself.
Build with Docker:
```shell

View File

@ -32,6 +32,8 @@ do
ACTUAL_STATUS=$?
echo "Actual status: ${ACTUAL_STATUS}"
if [ "${ACTUAL_STATUS}" != "${EXPECTED_STATUS}" ];
then
echo "Exit status does not match! (expected ${EXPECTED_STATUS}, got ${ACTUAL_STATUS})"