]> 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 07:20:40 +0000 (09:20 +0200)
The 'wait_for_nsec' does not need to add TSIG because it calls
'dig_with_opts' and that already checks for TSIG.

bin/tests/system/kasp/tests.sh

index 4e4c12e1f2cb70ec8bd76095669e48d752601f9f..e8ff6506d3485f29d52fbe5cf3bdf7e409f48990 100644 (file)
@@ -609,7 +609,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