]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Minor fix in kasp system test
authorMatthijs Mekking <matthijs@isc.org>
Wed, 30 Sep 2020 08:04:27 +0000 (10:04 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 2 Oct 2020 08:18:44 +0000 (10:18 +0200)
The 'wait_for_nsec' does not need to add TSIG because it calls
'dig_with_opts' and that already checks for TSIG.

(cherry picked from commit 43c6806779eaf0b155e2e37357a2a639ed018404)

bin/tests/system/kasp/tests.sh

index 796e6cd7421ac6a192442e9d938dfecda95c0db9..501419aa81f7de7c72aa5b167ad7ef929aaf8601 100644 (file)
@@ -610,7 +610,7 @@ dnssec_verify()
 # Wait for the zone to be signed.
 # The apex NSEC record indicates that it is signed.
 _wait_for_nsec() {
-       dig_with_opts "@${SERVER}" -y "$TSIG" "$ZONE" NSEC > "dig.out.nsec.test$n" || return 1
+       dig_with_opts "@${SERVER}" "$ZONE" NSEC > "dig.out.nsec.test$n" || return 1
        grep "NS SOA" "dig.out.nsec.test$n" > /dev/null || return 1
        grep "${ZONE}\..*IN.*RRSIG" "dig.out.nsec.test$n" > /dev/null || return 1
        return 0