From: Matthijs Mekking Date: Wed, 30 Sep 2020 08:04:27 +0000 (+0200) Subject: Minor fix in kasp system test X-Git-Tag: v9.17.6~17^2~3 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=43c6806779eaf0b155e2e37357a2a639ed018404;p=thirdparty%2Fbind9.git Minor fix in kasp system test The 'wait_for_nsec' does not need to add TSIG because it calls 'dig_with_opts' and that already checks for TSIG. --- diff --git a/bin/tests/system/kasp/tests.sh b/bin/tests/system/kasp/tests.sh index 4e4c12e1f2c..e8ff6506d34 100644 --- a/bin/tests/system/kasp/tests.sh +++ b/bin/tests/system/kasp/tests.sh @@ -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