]> granicus.if.org Git - pdns/commitdiff
regression-tests: don't include zsk keys with 257 in content in trustedkeys
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 1 Dec 2015 19:22:15 +0000 (20:22 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 1 Dec 2015 20:17:23 +0000 (21:17 +0100)
regression-tests/tests/00dnssec-grabkeys/command

index 1e0bac73f04699152de645f54dc2512997889357..09bca4d54ddbda42aa5e2206c602dfde8bf7d574 100755 (executable)
@@ -6,7 +6,7 @@ for zone in $(grep 'zone ' named.conf  | cut -f2 -d\")
 do
        if [ "${zone: 0:16}" != "secure-delegated" ]
        then
-               drill -p $port -o rd -D dnskey $zone @$nameserver | grep DNSKEY | grep 257 | grep -v 'RRSIG' | grep -v '^;' | grep -v AwEAAarTiHhPgvD28WCN8UBXcEcf8f >> trustedkeys
+               drill -p $port -o rd -D dnskey $zone @$nameserver | grep $'DNSKEY\t257' | grep -v 'RRSIG' | grep -v '^;' | grep -v AwEAAarTiHhPgvD28WCN8UBXcEcf8f >> trustedkeys
        fi
        echo "stub-zone:" >> unbound-host.conf
        echo "  name: $zone" >> unbound-host.conf