mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 09:05:40 +00:00
the resolver test checks that the correct number of fetches have been sent NS rrsets of a given size, but it formerly did so by counting queries received by the authoritative server, which could result in an off-by-one count if one of the queries had been resent due to a timeout or a port number collision. this commit changes the test to count fetches initiated by the resolver, which should prevent the intermittent test failure, and is the actual datum we were interested in anyway.
38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
#!/bin/sh
|
|
#
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
#
|
|
# Clean up after resolver tests.
|
|
#
|
|
rm -f */named.conf
|
|
rm -f */named.memstats
|
|
rm -f */named.run */named.run.prev
|
|
rm -f */ans.run
|
|
rm -f */*.jdb
|
|
rm -f dig.out dig.out.* dig.*.out.*
|
|
rm -f dig.*.foo.*
|
|
rm -f dig.*.bar.*
|
|
rm -f dig.*.prime.*
|
|
rm -f ns4/tld.db
|
|
rm -f ns6/K*
|
|
rm -f ns6/example.net.db.signed ns6/example.net.db
|
|
rm -f ns6/ds.example.net.db.signed ns6/ds.example.net.db
|
|
rm -f ns6/dsset-ds.example.net*
|
|
rm -f ns6/dsset-example.net* ns6/example.net.db.signed.jnl
|
|
rm -f ns6/named.stats*
|
|
rm -f ns6/to-be-removed.tld.db ns6/to-be-removed.tld.db.jnl
|
|
rm -f ns7/server.db ns7/server.db.jnl
|
|
rm -f resolve.out.*.test*
|
|
rm -f .digrc
|
|
rm -f ns*/named.lock
|
|
rm -f ns5/trusted.conf
|
|
rm -f ns*/managed-keys.bind* ns*/*.mkeys*
|