Temporary files created by a given system test should be removed by its clean.sh script, not its setup.sh script. Remove redundant "rm" invocations from setup.sh scripts. Move required "rm" invocations from setup.sh scripts to their corresponding clean.sh scripts.
24 lines
693 B
Bash
24 lines
693 B
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 http://mozilla.org/MPL/2.0/.
|
|
#
|
|
# See the COPYRIGHT file distributed with this work for additional
|
|
# information regarding copyright ownership.
|
|
|
|
rm -f stats.*
|
|
rm -f ns1/*.db ns1/*.jnl
|
|
rm -f ns3/*.jnl ns3/mytest.db ns3/subtest.db
|
|
rm -f ns4/*.jnl ns4/*.db
|
|
rm -f */named.memstats
|
|
rm -f */named.conf
|
|
rm -f */named.run
|
|
rm -f */ans.run
|
|
rm -f dig.out dig.out1 dig.out2 dig.out3
|
|
rm -f ns3/large.db
|
|
rm -f ns*/named.lock
|
|
rm -f ns*/managed-keys.bind* ns*/*.mkeys
|