]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace duplicated code snippet with calls to helper functions
authorMichał Kępień <michal@isc.org>
Wed, 13 Jun 2018 05:47:12 +0000 (07:47 +0200)
committerMichał Kępień <michal@isc.org>
Wed, 13 Jun 2018 05:58:39 +0000 (07:58 +0200)
commitdce66f763537450fa78045c679c53fd0ba5cbc5d
tree92bb15c3d46fb12298f3afffe81a53f874790723
parent21d3658bcbaa2d9148871ee6b7f773b8850ad049
Replace duplicated code snippet with calls to helper functions

Reduce code duplication by replacing a code snippet repeated throughout
system tests using "trusted-keys" and/or "managed-keys" configuration
sections with calls to keyfile_to_{managed,trusted}_keys() helper
functions.

(cherry picked from commit 120af964ce6e7ce4ddeeb399aad70f7d08e6b96f)
21 files changed:
bin/tests/system/autosign/ns1/keygen.sh
bin/tests/system/autosign/ns2/keygen.sh
bin/tests/system/dlv/ns1/sign.sh
bin/tests/system/dlv/ns3/sign.sh
bin/tests/system/dnssec/ns1/sign.sh
bin/tests/system/dnssec/ns5/sign.sh
bin/tests/system/dsdigest/ns1/sign.sh
bin/tests/system/ecdsa/ns1/sign.sh
bin/tests/system/eddsa/ns1/sign.sh
bin/tests/system/inline/ns1/sign.sh
bin/tests/system/legacy/ns7/sign.sh
bin/tests/system/mkeys/ns1/sign.sh
bin/tests/system/mkeys/tests.sh
bin/tests/system/pending/ns1/sign.sh
bin/tests/system/resolver/ns6/keygen.sh
bin/tests/system/rootkeysentinel/ns1/sign.sh
bin/tests/system/rsabigexponent/ns1/sign.sh
bin/tests/system/sfcache/ns1/sign.sh
bin/tests/system/staticstub/ns3/sign.sh
bin/tests/system/synthfromdnssec/ns1/sign.sh
bin/tests/system/wildcard/ns1/sign.sh