Check for unset variables only after conf.sh is loaded
Make the cds/setup.sh compatible with the workaround which relies on
testing the TSAN_OPTIONS variable which may not be set.
(cherry picked from commit 76d9873ef6)
This commit is contained in:
@@ -11,11 +11,13 @@
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
set -eu
|
||||
set -e
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
|
||||
set -u
|
||||
|
||||
touch empty
|
||||
|
||||
Z=cds.test
|
||||
|
||||
@@ -11,12 +11,14 @@
|
||||
# See the COPYRIGHT file distributed with this work for additional
|
||||
# information regarding copyright ownership.
|
||||
|
||||
set -eu
|
||||
set -e
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
# shellcheck source=conf.sh
|
||||
. "$SYSTEMTESTTOP/conf.sh"
|
||||
|
||||
set -u
|
||||
|
||||
echo_i "Generating keys for Native PKCS#11" >&2
|
||||
|
||||
infile=ns1/example.db.in
|
||||
|
||||
Reference in New Issue
Block a user