summaryrefslogtreecommitdiffstats
path: root/tests/shell
diff options
context:
space:
mode:
authorArturo Borrero Gonzalez <arturo@netfilter.org>2018-11-28 14:31:57 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2018-11-28 14:56:49 +0100
commit0c659242058605dd0ca5f4be979785aec8af27e8 (patch)
tree437d8ba9c262b473d0930071be4ce7cd4b699ce0 /tests/shell
parent431635b134a05963dd1e7cda252d16eec8a53787 (diff)
tests: fix return codes
Try to return != 0 if a testsuite fails. Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tests/shell')
-rwxr-xr-xtests/shell/run-tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh
index 5b0ec41c..fdca5fb3 100755
--- a/tests/shell/run-tests.sh
+++ b/tests/shell/run-tests.sh
@@ -152,4 +152,4 @@ echo ""
msg_info "results: [OK] $ok [FAILED] $failed [TOTAL] $((ok+failed))"
kernel_cleanup
-exit 0
+exit $failed