r19443: reset trap when we have removed the test specifc files already
authorStefan Metzmacher <metze@samba.org>
Sat, 21 Oct 2006 11:50:34 +0000 (11:50 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:21:33 +0000 (14:21 -0500)
metze
(This used to be commit 15d24f355a32b9b028d3397911194fa681dd0a40)

source4/script/tests/test_functions.sh

index 50d7dc2762db78be9df78ae1fde5553b0a8f937f..36f7a60606a472ffdba9640e302f27c5e5b066d7 100755 (executable)
@@ -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;
 }