fix(tests): always print actual exit status of test scenarios
This commit is contained in:
parent
6ab7d9c6e4
commit
77c1d0cde4
|
@ -118,6 +118,8 @@ ingress.extensions/gitlab created (dry run)
|
||||||
|
|
||||||
### Docker Build
|
### Docker Build
|
||||||
|
|
||||||
|
This method does not require the usual dependencies to be installed locally, only `docker` itself.
|
||||||
|
|
||||||
Build with Docker:
|
Build with Docker:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
@ -32,6 +32,8 @@ do
|
||||||
|
|
||||||
ACTUAL_STATUS=$?
|
ACTUAL_STATUS=$?
|
||||||
|
|
||||||
|
echo "Actual status: ${ACTUAL_STATUS}"
|
||||||
|
|
||||||
if [ "${ACTUAL_STATUS}" != "${EXPECTED_STATUS}" ];
|
if [ "${ACTUAL_STATUS}" != "${EXPECTED_STATUS}" ];
|
||||||
then
|
then
|
||||||
echo "Exit status does not match! (expected ${EXPECTED_STATUS}, got ${ACTUAL_STATUS})"
|
echo "Exit status does not match! (expected ${EXPECTED_STATUS}, got ${ACTUAL_STATUS})"
|
||||||
|
|
Loading…
Reference in New Issue