summaryrefslogtreecommitdiff
path: root/source4/script/tests/test_functions.sh
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-10-21 11:50:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:33 -0500
commit7653fa22d961755b1c943e1542cc96466a5cbe75 (patch)
tree72f46c2f2e6ecef9982822908ff314d6eac5c15e /source4/script/tests/test_functions.sh
parent2e468ee5df6371799d627f78245417fd61c5741d (diff)
downloadsamba-7653fa22d961755b1c943e1542cc96466a5cbe75.tar.gz
samba-7653fa22d961755b1c943e1542cc96466a5cbe75.tar.bz2
samba-7653fa22d961755b1c943e1542cc96466a5cbe75.zip
r19443: reset trap when we have removed the test specifc files already
metze (This used to be commit 15d24f355a32b9b028d3397911194fa681dd0a40)
Diffstat (limited to 'source4/script/tests/test_functions.sh')
-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;
}