summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/init.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/init.sh b/tests/init.sh
index a57de77a2..7be5e9e8a 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -336,6 +336,9 @@ setup_()
for sig_ in 1 2 3 13 15; do
eval "trap 'Exit $(expr $sig_ + 128)' $sig_"
done
+
+ # Set up for the "Exit $fail" at the end of many tests.
+ fail=0
}
# Create a temporary directory, much like mktemp -d does.