]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[rt46602] Modify some test files to cope with the "-p" flag
authorStephen Morris <stephen@isc.org>
Fri, 24 Nov 2017 12:24:09 +0000 (12:24 +0000)
committerStephen Morris <stephen@isc.org>
Fri, 16 Feb 2018 14:57:51 +0000 (14:57 +0000)
bin/tests/system/rpz/setup.sh
bin/tests/system/rpz/tests.sh
bin/tests/system/rrl/tests.sh

index 2cadd168a1410c336d96b116ef6ccad70aee7735..f079d6502edd4e1618e74ed24fcf89f8152245df 100644 (file)
@@ -12,6 +12,7 @@ set -e
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
+. $SYSTEMTESTTOP/getopts.sh
 
 QPERF=`$SHELL qperf.sh`
 
index 38e5a6a55b7a7fd328b16977eb4d368e0a484b90..2fcff21ada71de05ca7aaec4237bde6e0fc6d62b 100644 (file)
@@ -13,6 +13,7 @@
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
+. $SYSTEMTESTTOP/getopts.sh
 
 ns=10.53.0
 ns1=$ns.1              # root, defining the others
@@ -66,7 +67,7 @@ if [ -z "$DNSRPS_TEST_MODE" ]; then
         echo "I:'dnsrps-only' found: skipping native RPZ sub-test"
     else
         echo "I:running native RPZ sub-test"
-       $SHELL ./$0 -D1 $ARGS || status=1
+       $SHELL ./$0 -p $port -- -D1 $ARGS || status=1
     fi
 
     if [ -e dnsrps-off ]; then
index 4906e1d79e79ff10abc9cccd74b0f769506d5065..ccee60cbb41ef785dec6a84849f4ed83307affaa 100644 (file)
@@ -9,6 +9,7 @@
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
+. $SYSTEMTESTTOP/getopts.sh
 
 #set -x