From 36136dec550cd02fecacd7859d30ec0dbbd76792 Mon Sep 17 00:00:00 2001 From: Stephen Morris Date: Thu, 21 Dec 2017 18:15:50 +0000 Subject: [PATCH] [rt46602] Correct way allow_query test produces RNDC output (cherry picked from commit 7f2d41d4c492962a0f30b34b326ed87c3c471186) --- bin/tests/system/allow_query/tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/tests/system/allow_query/tests.sh b/bin/tests/system/allow_query/tests.sh index 994c9cff347..90272777126 100644 --- a/bin/tests/system/allow_query/tests.sh +++ b/bin/tests/system/allow_query/tests.sh @@ -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 -- 2.47.3