mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-22 10:30:14 -04:00
Make the checkds system test more structured with the many more test cases to come. Add a README for clarity. Update the 'has_signed_apex_nsec' helper function so it can take any domain name regardless of the number of labels. Change the DNS tree structure such that we have different TLD names for the various test scenarios, because we need servers that respond differently to DS queries. Note that this isn't applicable to the existing "checkds explicit" test cases, but is preparation work for testing "checkds yes" (automatic parental agents). Add a trust-anchor to the server that will be querying for parent NS records.
28 lines
836 B
Bash
28 lines
836 B
Bash
#!/bin/sh
|
|
|
|
# Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
#
|
|
# SPDX-License-Identifier: MPL-2.0
|
|
#
|
|
# 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.
|
|
|
|
set -e
|
|
|
|
rm -f dig.out*
|
|
rm -f ns*/named.conf ns*/named.memstats ns*/named.run*
|
|
rm -f ns*/*.jnl ns*/*.jbk
|
|
rm -f ns*/K*.private ns*/K*.key ns*/K*.state
|
|
rm -f ns*/*.keyname
|
|
rm -f ns*/dsset-*
|
|
rm -f ns*/*.db ns*/*.jnl ns*/*.jbk ns*/*.db.signed ns*/*.db.infile
|
|
rm -f ns*/keygen.out.* ns*/settime.out.* ns*/signer.out.*
|
|
rm -f ns*/managed-keys.bind*
|
|
rm -f ns*/trusted.conf
|
|
rm -f ns*/*.mkeys
|
|
rm -f ns*/zones
|
|
rm -f ./*.out
|