]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[rt46602] Correct way allow_query test produces RNDC output
authorStephen Morris <stephen@isc.org>
Thu, 21 Dec 2017 18:15:50 +0000 (18:15 +0000)
committerStephen Morris <stephen@isc.org>
Fri, 16 Feb 2018 16:09:49 +0000 (16:09 +0000)
bin/tests/system/allow_query/tests.sh

index 994c9cff347c71d15819f2803cada7158dd367fe..9027277712698b482ee9df374d9bc822cf54f410 100644 (file)
@@ -55,8 +55,7 @@ SYSTEMTESTTOP=..
 DIGOPTS="+tcp +nosea +nostat +nocmd +norec +noques +noauth +noadd +nostats +dnssec -p ${PORT}"
 
 rndc_reload() {
-    RNDCOUT=`$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p ${CONTROLPORT} reload 2>&1`
-    echo_i "ns2 $RNDCOUT"
+    echo_i "`$RNDC -c ../common/rndc.conf -s 10.53.0.2 -p ${CONTROLPORT} reload 2>&1 | sed 's/^/ns2 /'`"
 }
 
 status=0