tests: revert not turning off errexit in instspc-test.sh
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Jan 2011 20:46:22 +0000 (21:46 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 20 Jan 2011 20:46:22 +0000 (21:46 +0100)
* tests/instspc-tests.sh: Turn off errexit while sourcing defs,
the scripts might still not be clean.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/instspc-tests.sh

index 2552580..4faa135 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-01-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       tests: revert not turning off errexit in instspc-test.sh
+       * tests/instspc-tests.sh: Turn off errexit while sourcing defs,
+       the scripts might still not be clean.
+
 2011-01-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        tests: work around Tru64 sh -e issues for instspc*.test.
index 78f40c4..38a63a4 100755 (executable)
@@ -191,8 +191,12 @@ fi
 
 ###  If we are still here, we have to run a test ...
 
-# We'll need the full setup provided by `tests/defs'.
+# We'll need the full setup provided by `tests/defs'.  Temporarly disable
+# the errexit flag, since the setup code might not be prepared to deal
+# with it.
+set +e
 . ./defs || Exit 99
+set -e
 
 eval "instspc_test_string=\${instspc__$instspc_test_name}" || Exit 99
 if test x"$instspc_test_string" = x; then