]> git.ipfire.org Git - thirdparty/bind9.git/commit
Convert many kasp test cases to pytst
authorMatthijs Mekking <matthijs@isc.org>
Fri, 14 Mar 2025 16:11:14 +0000 (17:11 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Wed, 23 Apr 2025 15:53:12 +0000 (15:53 +0000)
commit53f02790b155b7637edce9006283fd89ea5240be
tree49102faa1c6ed9ae5d2bdf21d6fd7d9647a4f22c
parentd839d11bf62a82c2360e21f3d5762b611ab9b9df
Convert many kasp test cases to pytst

Write python-based tests for the many test cases from the kasp system
test. These test cases all follow the same pattern:

- Wait until the zone is signed.
- Check the keys from the key-directory against expected properties.
- Set the expected key timings derived from when the key was created.
- Check the key timing metadata against expected timings.
- Check the 'rndc dnssec -status' output.
- Check the apex is signed correctly.
- Check a subdomain is signed correctly.
- Verify that the zone is DNSSEC correct.

Remove the counterparts for the newly added test from the kasp shell
tests script.

(cherry picked from commit 41481af1446ad3b0e319214b3ceee8805fd67e72)
bin/tests/system/kasp/ns3/setup.sh
bin/tests/system/kasp/tests.sh
bin/tests/system/kasp/tests_kasp.py