]> git.ipfire.org Git - thirdparty/bind9.git/commit
Improve the way cache contents are searched for "ns.flushtest.example"
authorMichał Kępień <michal@isc.org>
Tue, 20 Feb 2018 12:59:29 +0000 (13:59 +0100)
committerMichał Kępień <michal@isc.org>
Tue, 20 Feb 2018 12:59:29 +0000 (13:59 +0100)
commitca1049b2f36be42a6daa9c04289d51c481cb7b52
tree5273190182de9b24d6962b893e8d8bb64272884a
parent2bbff06d3631653fcea95e223da47aea0f9cdf0b
Improve the way cache contents are searched for "ns.flushtest.example"

During the "check flushtree clears adb correctly" check, expecting
"ns.flushtest.example" to always be the first name in the ADB dump is
fragile, because in a certain corner case "a.root-servers.nil" will be
the first name instead.

As the purpose of the relevant check is to ensure "ns.flushtest.example"
is removed from ADB by "rndc flushtree flushtest.example", search the
entire list of names present in ADB instead of just the first entry when
looking for "ns.flushtest.example".
bin/tests/system/cacheclean/tests.sh