]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Check for unset variables only after conf.sh is loaded
authorTom Krizek <tkrizek@isc.org>
Mon, 26 Jun 2023 16:59:32 +0000 (18:59 +0200)
committerTom Krizek <tkrizek@isc.org>
Thu, 29 Jun 2023 11:14:33 +0000 (13:14 +0200)
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 76d9873ef6dd00eb6bd16cfe19d9972e89a9d846)

bin/tests/system/cds/setup.sh

index c3ec8a23fe313b26d766ea136cdf6565300be482..6de5de5acb458a983dc3c85187f9dfde7515c843 100644 (file)
 # See the COPYRIGHT file distributed with this work for additional
 # information regarding copyright ownership.
 
-set -eu
+set -e
 
 . ../conf.sh
 
+set -u
+
 touch empty
 
 Z=cds.test