]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Wait for correct log message in dnssec/tests.sh
authorMatthijs Mekking <matthijs@isc.org>
Wed, 24 Apr 2019 07:16:59 +0000 (09:16 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 24 Apr 2019 07:41:22 +0000 (09:41 +0200)
In 9.11 there are some log messages not existing, but the tests
rely on.  Adjust the grep call that gives confidence the rollover
step has occurred.

bin/tests/system/dnssec/tests.sh

index a93526d3d138f6ab766295fb0ac1ba05409702a0..71bf407e160923a643db3c8951d71904626926d0 100644 (file)
@@ -3821,8 +3821,7 @@ done
 echo_i "wait until new ZSK $ZSK_ID3 active and ZSK $ZSK_ID2 inactive"
 for i in 1 2 3 4 5 6 7 8 9 10; do
     ret=0
-    grep "DNSKEY $zone/$DEFAULT_ALGORITHM/$ZSK_ID3 (ZSK) is now active" ns2/named.run > /dev/null || ret=1
-    grep "DNSKEY $zone/$DEFAULT_ALGORITHM/$ZSK_ID2 (ZSK) is now inactive" ns2/named.run > /dev/null || ret=1
+    grep "add re-sign updatecheck-kskonly\.secure\..*RRSIG.*SOA.*$ZSK_ID3.*$zone.*" ns2/named.run > /dev/null || ret=1
     [ "$ret" -eq 0 ] && break
     sleep 1
 done