From: Evan Hunt Date: Fri, 6 Feb 2015 07:53:12 +0000 (-0800) Subject: [master] fix "initialize with revoked key" test, add missing newline X-Git-Tag: v9.11.0a1~1039 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=29beab13401d7fcb2894f076494bc6d1d513e46b;p=thirdparty%2Fbind9.git [master] fix "initialize with revoked key" test, add missing newline --- diff --git a/bin/named/server.c b/bin/named/server.c index a6b1c84075a..d02e60424a8 100644 --- a/bin/named/server.c +++ b/bin/named/server.c @@ -10734,6 +10734,7 @@ mkey_status(dns_view_t *view, isc_buffer_t **text) { } CHECK(mkey_dumpzone(view, text)); + CHECK(putstr(text, "\n")); cleanup: return (result); diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index a75dc4f03bf..14ace41f996 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -3038,7 +3038,7 @@ cp ns5/named2.conf ns5/named.conf $RNDC -c ../common/rndc.conf -s 10.53.0.5 -p 9953 reconfig 2>&1 | sed 's/^/I:ns5 /' sleep 3 $DIG $DIGOPTS +dnssec -p 5300 @10.53.0.5 SOA . > dig.out.ns5.test$n -grep "status: NOERROR" dig.out.ns5.test$n > /dev/null || ret=1 +grep "status: SERVFAIL" dig.out.ns5.test$n > /dev/null || ret=1 n=`expr $n + 1` if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret`