diff options
-rw-r--r-- | source3/script/tests/test_functions.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/script/tests/test_functions.sh b/source3/script/tests/test_functions.sh index 3917eb86ac..1cc9ea1264 100644 --- a/source3/script/tests/test_functions.sh +++ b/source3/script/tests/test_functions.sh @@ -226,6 +226,7 @@ testit() { else echo "TEST FAILED: $cmdline (status $status)" fi + trap "" EXIT return 1; fi rm -f $TEST_LOG; @@ -240,6 +241,7 @@ testit() { echo "TEST PASSED: $name" echo "==========================================" fi + trap "" EXIT return 0; } |