]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
tests: update column id in awk use 9692/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 9 Nov 2020 20:54:01 +0000 (21:54 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Mon, 9 Nov 2020 20:54:01 +0000 (21:54 +0100)
regression-tests/backends/bind-master
regression-tests/backends/gsql-common
regression-tests/backends/lmdb-master

index 54b2f96906b491902934ad62154018e861255bc2..1c403fecedf1d7fd2146940c4b3a872cdacbe137 100644 (file)
@@ -62,7 +62,7 @@ __EOF__
                 securezone $zone bind
                 if [ $zone = hiddencryptokeys.org ]
                 then
-                    keyid=$($PDNSUTIL --config-dir=. --config-name=bind list-keys $zone | grep hiddencryptokeys.org | awk '{ print $5 }')
+                    keyid=$($PDNSUTIL --config-dir=. --config-name=bind list-keys $zone | grep hiddencryptokeys.org | awk '{ print $7 }')
                     $PDNSUTIL --config-dir=. --config-name=bind unpublish-zone-key $zone $keyid
                 fi
                 if [ $context = bind-dnssec-nsec3 ] || [ $context = bind-dnssec-nsec3-optout ] || [ $context = bind-hybrid-nsec3 ]
index 9a9b527c6a060b9c9d2995f42819bc25275b5103..494eb0a7f9c9003766541941f75cd25fc68a9539 100644 (file)
@@ -27,7 +27,7 @@ gsql_master()
             securezone $zone ${backend}
             if [ $zone = hiddencryptokeys.org ]
             then
-                keyid=$($PDNSUTIL --config-dir=. --config-name=$backend list-keys $zone | grep hiddencryptokeys.org | awk '{ print $5 }')
+                keyid=$($PDNSUTIL --config-dir=. --config-name=$backend list-keys $zone | grep hiddencryptokeys.org | awk '{ print $7 }')
                 $PDNSUTIL --config-dir=. --config-name=$backend unpublish-zone-key $zone $keyid
             fi
             if [ $zone = cryptokeys.org ]
index cc0d18ac844d8015cbec18a47e8002e12cba596a..ea0b4aa6a691891451ed648f7bf30cf27edf9d00 100644 (file)
@@ -31,7 +31,7 @@ __EOF__
                     securezone $zone lmdb
                     if [ $zone = hiddencryptokeys.org ]
                     then
-                        keyid=$($PDNSUTIL --config-dir=. --config-name=lmdb list-keys $zone | grep hiddencryptokeys.org | awk '{ print $5 }')
+                        keyid=$($PDNSUTIL --config-dir=. --config-name=lmdb list-keys $zone | grep hiddencryptokeys.org | awk '{ print $7 }')
                         $PDNSUTIL --config-dir=. --config-name=lmdb unpublish-zone-key $zone $keyid
                     fi
                     if [ $zone = cryptokeys.org ]