]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use wait_for_log_re in the autosign system test
authorTony Finch <fanf@isc.org>
Thu, 14 Apr 2022 09:48:24 +0000 (10:48 +0100)
committerTony Finch <fanf@isc.org>
Tue, 19 Apr 2022 16:00:31 +0000 (17:00 +0100)
Fix another occurrence of the mistake of passing a regex to
wait_for_log by using the new wait_for_log_re instead.

bin/tests/system/autosign/tests.sh

index 3c7334ab3d16e5f6d67d1e6fba1e4dae79f3921a..1c5f8ee3d7f4974524ab4e6eb577a6acc555ada7 100755 (executable)
@@ -1263,7 +1263,7 @@ $SETTIME -K ns3 -A now+3s $ksk > settime.out.test$n.ksk || ret=1
 ($RNDCCMD 10.53.0.3 loadkeys delay.example. 2>&1 | sed 's/^/ns2 /' | cat_i) || ret=1
 echo_i "waiting for changes to take effect"
 sleep 3
-wait_for_log 10 "add delay\.example\..*NSEC.a\.delay\.example\. NS SOA RRSIG NSEC DNSKEY" ns3/named.run
+wait_for_log_re 10 "add delay\.example\..*NSEC.a\.delay\.example\. NS SOA RRSIG NSEC DNSKEY" ns3/named.run
 check_is_signed() {
   $DIG $DIGOPTS +noall +answer dnskey delay.example. @10.53.0.3 > dig.out.ns3.1.test$n || return 1
   # DNSKEY expected: