Add more tests to the dnstap system test to roll with different values. Touch some files to make sure the number of existing files exceed the number that we want to keep. Add a test to the logfileconfig system test for the increment suffix.
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
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.
|
|
|
|
#
|
|
# Clean up after log file tests
|
|
#
|
|
rm -f ns1/named.conf
|
|
rm -f ns1/named.args
|
|
rm -f ns1/named.pid ns1/named.run ns1/named.run.prev
|
|
rm -f ns1/named.memstats ns1/dig.out
|
|
rm -f ns1/named_log ns1/named_pipe ns1/named_sym
|
|
rm -rf ns1/named_dir
|
|
rm -f ns1/named_deflog
|
|
rm -f ns*/named.lock
|
|
rm -f ns1/query_log
|
|
rm -f ns1/named_iso8601
|
|
rm -f ns1/named_iso8601_utc
|
|
rm -f ns1/rndc.out.test*
|
|
rm -f ns1/dig.out.test*
|
|
rm -f ns1/named_vers
|
|
rm -f ns1/named_vers.*
|
|
rm -f ns1/named_ts
|
|
rm -f ns1/named_ts.*
|
|
rm -f ns1/named_inc
|
|
rm -f ns1/named_inc.*
|
|
rm -f ns1/named_unlimited
|
|
rm -f ns1/named_unlimited.*
|
|
rm -f ns*/managed-keys.bind*
|