summaryrefslogtreecommitdiff
path: root/tests/cli-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cli-tests.sh')
-rwxr-xr-xtests/cli-tests.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/cli-tests.sh b/tests/cli-tests.sh
index bc1a1e2c..16d6afcf 100755
--- a/tests/cli-tests.sh
+++ b/tests/cli-tests.sh
@@ -34,6 +34,9 @@ do
echo " [TEST/cli] $name"
./test.sh
if [ $? -ne 0 ]; then
+ if [[ $TEST_LOG =~ dump ]]; then
+ cat "$RESULTS"
+ fi
_fail "test failed for case $(basename $i)"
fi
fi