]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add tests for dumpdb stale ttl
authorMatthijs Mekking <matthijs@isc.org>
Thu, 24 Jan 2019 09:28:41 +0000 (10:28 +0100)
committerMatthijs Mekking <matthijs@isc.org>
Thu, 31 Jan 2019 08:35:49 +0000 (09:35 +0100)
commita2d115cbfc29fa5749a5f08abf1edf44539148bd
treee23076804584dd0af81afe29891a552f31e06320
parent924ebc605db798e2a383ee5eaaebad739e7c789c
Add tests for dumpdb stale ttl

This adds a test for rndc dumpdb to ensure the correct "stale
comment" is printed.  It also adds a test for non-stale data to
ensure no "stale comment" is printed for active RRsets.

In addition, the serve-stale tests are hardened with more accurate
grep calls.
bin/tests/system/serve-stale/ans2/ans.pl
bin/tests/system/serve-stale/clean.sh
bin/tests/system/serve-stale/ns1/named1.conf.in
bin/tests/system/serve-stale/ns1/named2.conf.in
bin/tests/system/serve-stale/ns3/named.conf.in
bin/tests/system/serve-stale/tests.sh
lib/dns/masterdump.c