summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/test_functions.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/script/tests/test_functions.sh b/source4/script/tests/test_functions.sh
index 50d7dc2762..36f7a60606 100755
--- a/source4/script/tests/test_functions.sh
+++ b/source4/script/tests/test_functions.sh
@@ -159,6 +159,7 @@ testit() {
else
echo "TEST FAILED: $cmdline (status $status)"
fi
+ trap "" EXIT
return 1;
fi
rm -f $TEST_LOG;
@@ -173,6 +174,7 @@ testit() {
echo "TEST PASSED: $name"
echo "=========================================="
fi
+ trap "" EXIT
return 0;
}