Commit c02dad79 authored by Evan Hunt's avatar Evan Hunt

set and use SYSTEMTESTTOP consistently

parent 1bc0ab52
......@@ -13,9 +13,11 @@
# 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
......
......@@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
......
......@@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
......
......@@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
status=0
......
......@@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e
......
......@@ -10,6 +10,7 @@
# 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}" "$@"; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment