# Clean up after a specified system test.
#
-SYSTEMTESTTOP=.
+SYSTEMTESTTOP="$(cd -P -- "$(dirname -- "$0")" && pwd -P)"
. $SYSTEMTESTTOP/conf.sh
+export SYSTEMTESTTOP
+
# See if the "-r" flag is present. This will usually be set when all the tests
# are run (e.g. from "runall.sh") and tells the script not to delete the
# test.output file created by run.sh. This is because the script running all
# information regarding copyright ownership.
# shellcheck source=conf.sh
+SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
# information regarding copyright ownership.
# shellcheck source=conf.sh
+SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
# information regarding copyright ownership.
# shellcheck source=conf.sh
+SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
status=0
# information regarding copyright ownership.
# shellcheck source=conf.sh
+SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
# information regarding copyright ownership.
# shellcheck source=conf.sh
+SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
#!/bin/sh
-. ../conf.sh
+. $SYSTEMTESTTOP/conf.sh
rm -f ./dig.out.*
rm -f ./*/named.conf
#!/bin/sh
-. ../conf.sh
+. $SYSTEMTESTTOP/conf.sh
$SHELL clean.sh
copy_setports ns1/named.conf.in ns1/named.conf
#!/bin/sh
-. ../conf.sh
+. $SYSTEMTESTTOP/conf.sh
dig_with_options() { "$DIG" +noadd +nosea +nostat +noquest +nocomm +nocmd -p "${PORT}" "$@"; }