diff options
author | Gerald Combs <gerald@wireshark.org> | 2006-10-09 20:31:48 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2006-10-09 20:31:48 +0000 |
commit | 3f96d2a977ab5c85a0450279434860b8430199f7 (patch) | |
tree | 9ebdee5b389a8e889e991e4910b2f16e7722734b /test | |
parent | 60068a047e68e1e003644d3257f00e3bd6a84f78 (diff) | |
download | wireshark-3f96d2a977ab5c85a0450279434860b8430199f7.tar.gz wireshark-3f96d2a977ab5c85a0450279434860b8430199f7.tar.bz2 wireshark-3f96d2a977ab5c85a0450279434860b8430199f7.zip |
Return 1 on failure.
svn path=/trunk/; revision=19464
Diffstat (limited to 'test')
-rw-r--r-- | test/test-backend.sh | 14 | ||||
-rw-r--r-- | test/test.sh | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/test/test-backend.sh b/test/test-backend.sh index 384d4f42ad..d7da592dd4 100644 --- a/test/test-backend.sh +++ b/test/test-backend.sh @@ -114,14 +114,14 @@ test_suite_run() { $color_reset fi - # exit status - #if [ $TEST_FAILED -eq 0 ]; then - # exit 0 - #else - # exit 1 - #fi - TEST_RUN="OFF" + + # exit status + if [ $TEST_FAILED -eq 0 ]; then + return 0 + else + return 1 + fi } diff --git a/test/test.sh b/test/test.sh index c69b59cf22..491e489a26 100644 --- a/test/test.sh +++ b/test/test.sh @@ -81,7 +81,7 @@ test_set_output VERBOSE if [ "$1" == "all" ] ; then test_suite_run "All" test_suite - exit + exit $? fi MENU_LEVEL=0 |