diff options
Diffstat (limited to 'tests/shell/run-tests.sh')
-rwxr-xr-x | tests/shell/run-tests.sh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index 8f55c81f..65bd5c1d 100755 --- a/tests/shell/run-tests.sh +++ b/tests/shell/run-tests.sh @@ -821,4 +821,10 @@ if [ "$failed" -gt 0 -o "$NFT_TEST_KEEP_LOGS" = y ] ; then NFT_TEST_TMPDIR= fi -[ "$failed" -eq 0 ] +if [ "$failed" -gt 0 ] ; then + exit 1 +elif [ "$ok" -eq 0 -a "$skipped" -gt 0 ] ; then + exit 77 +else + exit 0 +fi |