set and use SYSTEMTESTTOP consistently

This commit is contained in:
Evan Hunt 2019-01-22 16:52:56 -08:00
parent 1bc0ab5217
commit c02dad7991
9 changed files with 11 additions and 4 deletions

View file

@ -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

View file

@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e

View file

@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e

View file

@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
status=0

View file

@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e

View file

@ -10,6 +10,7 @@
# information regarding copyright ownership.
# shellcheck source=conf.sh
SYSTEMTESTTOP=..
. "$SYSTEMTESTTOP/conf.sh"
set -e

View file

@ -1,6 +1,6 @@
#!/bin/sh
. ../conf.sh
. $SYSTEMTESTTOP/conf.sh
rm -f ./dig.out.*
rm -f ./*/named.conf

View file

@ -1,6 +1,6 @@
#!/bin/sh
. ../conf.sh
. $SYSTEMTESTTOP/conf.sh
$SHELL clean.sh
copy_setports ns1/named.conf.in ns1/named.conf

View file

@ -1,6 +1,6 @@
#!/bin/sh
. ../conf.sh
. $SYSTEMTESTTOP/conf.sh
dig_with_options() { "$DIG" +noadd +nosea +nostat +noquest +nocomm +nocmd -p "${PORT}" "$@"; }