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:
Tom Krizek
2023-06-29 14:40:09 +02:00
parent 2020ce2010
commit 4efef8cb54
2 changed files with 6 additions and 2 deletions
+3 -1
View File
@@ -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
+3 -1
View File
@@ -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