From: Matthijs Mekking Date: Thu, 16 Nov 2023 14:24:19 +0000 (+0100) Subject: Remove "error reading" grep from kasp system test X-Git-Tag: v9.19.22~70^2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dd6cfb464f002ded4d1d05a52abccfad145c5b72;p=thirdparty%2Fbind9.git Remove "error reading" grep from kasp system test 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. --- diff --git a/bin/tests/system/kasp/tests.sh b/bin/tests/system/kasp/tests.sh index b6c80b83111..3c2484cc4d1 100644 --- a/bin/tests/system/kasp/tests.sh +++ b/bin/tests/system/kasp/tests.sh @@ -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))