Commit b30dfb13 authored by Niels Möller's avatar Niels Möller
Browse files

Don't use set -e, since it made the

cleanup code unreliable. FIXME: Check if any tests depended on this.

Rev: src/testsuite/
parent d8606804
# Helper functions for the test scripts.
# Any error count as failure.
set -e
# echo srcdir = $srcdir
: ${TEST_HOME:=`pwd`/home}
......@@ -32,6 +29,8 @@ export LSHD_UTMP LSHD_WTMP LSHD_CONFIG_DIR
: ${LSH_PIDFILE:="`pwd`/lsh.$$.pid"}
: ${LSHG_PIDFILE:="`pwd`/lshg.$$.pid"}
# FIXME: Are these flags obsolete?
# Ignore any options the tester might have put in the environment.
# With bash, unset returns a non-zero exit status for non-existing
......@@ -41,7 +40,7 @@ unset LSHGFLAGS || :
unset LSHFLAGS || :
ATEXIT='set +e'
ATEXIT='true '
# We start with EXIT_FAILURE, and changing it to EXIT_SUCCESS only if
# test_success is invoked.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment