]> git.ipfire.org Git - thirdparty/bind9.git/commit
Tweak kasp system test
authorMatthijs Mekking <matthijs@isc.org>
Wed, 1 Apr 2020 12:09:55 +0000 (14:09 +0200)
committerMatthijs Mekking <matthijs@isc.org>
Fri, 3 Apr 2020 07:15:51 +0000 (09:15 +0200)
commit83a00866b067f3473926f74d84fdc61eaa53dcfb
tree974ceeae1ca99da06a81a551f39154ee91ece4ea
parent7aa5a11bdd617ba34a575f907b65355a801461a2
Tweak kasp system test

A few kasp system test tweaks to improve test failure debugging and
deal with tests related to migration to dnssec-policy.

1. When clearing a key, set lifetime to "none".  If "none", skip
   expect no lifetime set in the state file.  Legacy keys that
   are migrated but don't match the dnssec-policy will not have a
   lifetime.

2. The kasp system test prints which key id and file it is checking.
   Log explicitly if we are checking the id or a file.

3. Add quotes around "ID" when setting the key id, for consistency.

4. Fix a typo (non -> none).

5. Print which key ids are found, this way it is easier to see what
   KEY[1-4] failed to match one of the key files.

(cherry picked from commit a224754d59c348ea9b1680179a7b7a9f7e4c4ad0)
bin/tests/system/kasp/tests.sh