]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Remove "error reading" grep from kasp system test
authorMatthijs Mekking <matthijs@isc.org>
Thu, 16 Nov 2023 14:24:19 +0000 (15:24 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 25 Jan 2024 14:37:40 +0000 (15:37 +0100)
This log may still occur if there is a DNSKEY in the unsigned zone.
This may happen in a multi-signer setup for example.

Ideally this should not log a warning, but that requires looking up
keys a different way (by searching for key files only). However, that
requires adapting a bunch of system tests, and is out of scope for now.

bin/tests/system/kasp/tests.sh

index b6c80b83111893c580715c32d11b0c00550af747..3c2484cc4d1bebc0142f10d17e0a975af733f354 100644 (file)
@@ -510,7 +510,6 @@ n=$((n + 1))
 echo_i "check if resigning the raw version of the zone is prevented for zone ${ZONE} ($n)"
 ret=0
 grep "zone_resigninc: zone $ZONE/IN (unsigned): enter" $DIR/named.run && ret=1
-grep "error reading K$ZONE" $DIR/named.run && ret=1
 test "$ret" -eq 0 || echo_i "failed"
 status=$((status + ret))