Skip to content

Commit

Permalink
fix(tests): always print actual exit status of test scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Nov 1, 2019
1 parent 6ab7d9c commit 77c1d0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions scripts/test-examples.sh
Expand Up @@ -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})"
Expand Down

0 comments on commit 77c1d0c

Please sign in to comment.