From: Pieter Lexis Date: Wed, 8 Jun 2016 09:14:12 +0000 (+0200) Subject: Fix a test by supression pdns_control output X-Git-Tag: auth-4.0.0-rc1~49^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3930%2Fhead;p=thirdparty%2Fpdns.git Fix a test by supression pdns_control output --- diff --git a/regression-tests/tests/bind-add-zone/command b/regression-tests/tests/bind-add-zone/command index 28ddc1979d..bb3bc17dba 100755 --- a/regression-tests/tests/bind-add-zone/command +++ b/regression-tests/tests/bind-add-zone/command @@ -6,7 +6,7 @@ fi cleandig ns1.addzone.com A cleandig ns1.test.com A -$PDNSCONTROL --config-name=bind --socket-dir=. --no-config bind-add-zone addzone.com ${PWD}/zones/addzone.com +$PDNSCONTROL --config-name=bind --socket-dir=. --no-config bind-add-zone addzone.com ${PWD}/zones/addzone.com >/dev/null 2>&1 $PDNSCONTROL --config-name=bind --socket-dir=. --no-config purge addzone.com sleep 1 $PDNSCONTROL --config-name=bind --socket-dir=. --no-config bind-add-zone addzone.com ${PWD}/zones/addzone.com diff --git a/regression-tests/tests/bind-add-zone/expected_result.bind b/regression-tests/tests/bind-add-zone/expected_result.bind index 6db3dcff91..845856c472 100644 --- a/regression-tests/tests/bind-add-zone/expected_result.bind +++ b/regression-tests/tests/bind-add-zone/expected_result.bind @@ -3,7 +3,6 @@ Reply to question for qname='ns1.addzone.com.', qtype=A 0 ns1.test.com. IN A 3600 1.1.1.1 Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0 Reply to question for qname='ns1.test.com.', qtype=A -Loaded zone addzone.com from zones/addzone.com 1 Already loaded 0 ns1.addzone.com. IN A 3600 1.1.1.5