]> git.ipfire.org Git - thirdparty/bind9.git/commit
Update hours-vs-days test
authorMatthijs Mekking <matthijs@isc.org>
Wed, 31 Jan 2024 12:55:29 +0000 (13:55 +0100)
committerNicki Křížek <nicki@isc.org>
Mon, 6 May 2024 12:44:10 +0000 (14:44 +0200)
commit02f5d82333dfc1ee032fd1382bdf39b04d4f5df3
tree901228ea4f7259040408067e21018243cf69e614
parenta68f8c7cf0f5b0cd3cd2e210a11d06156c47fcf8
Update hours-vs-days test

This test is outdated because it tested the 'sig-validity-interval'
option that has been replaced by dnssec-policy's 'signatures-validity',
'signatures-refresh', and 'signatures-jitter' options.

Nevertheless, it tests if the jitter is spread correctly.

Update the test to make use of 'signatures-jitter', set the value
to 1 day (meaning resign in 499 days since 'signatures-validity' is
set to 500 days).

Note that this previously changed erroneously the refresh value to
449 days (should have been 499 days, but that is not allowed by
checkconf, since it is above 90% of 'signatures-validity').
bin/tests/system/dnssec/ns2/named.conf.in
bin/tests/system/dnssec/tests.sh