From: Ondřej Surý Date: Wed, 22 Apr 2020 13:39:45 +0000 (+0200) Subject: Use $TOP_SRCDIR instead of $TOP of calling prepare-softhsm2 script X-Git-Tag: v9.17.2~121^2~13 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=0bc1b4804eddd416ec66342dc891fe464b0eaa24;p=thirdparty%2Fbind9.git Use $TOP_SRCDIR instead of $TOP of calling prepare-softhsm2 script --- diff --git a/bin/tests/system/runtime/tests.sh b/bin/tests/system/runtime/tests.sh index 00162731d48..f46924acdd5 100644 --- a/bin/tests/system/runtime/tests.sh +++ b/bin/tests/system/runtime/tests.sh @@ -203,7 +203,7 @@ if [ "$(id -u)" -eq 0 ] && [ -z "$CYGWIN" ]; then if [ "$?" -eq 0 ]; then copy_setports ns2/named-alt9.conf.in "${TEMP_NAMED_DIR}/named-alt9.conf" export SOFTHSM2_CONF="${TEMP_NAMED_DIR}/softhsm2.conf" - sh "$TOP/bin/tests/prepare-softhsm2.sh" + sh "$TOP_SRCDIR/bin/tests/prepare-softhsm2.sh" chown -R nobody: "${TEMP_NAMED_DIR}" chmod 0700 "${TEMP_NAMED_DIR}" ( cd "${TEMP_NAMED_DIR}" && $NAMED -u nobody -c named-alt9.conf -d 99 -g -U 4 >> named$n.run 2>&1 & ) || ret=1