Ensure all system tests run clean.sh from setup.sh

For consistency between all system tests, add missing setup.sh scripts
for tests which do not have one yet and ensure every setup.sh script
calls its respective clean.sh script.

(cherry picked from commit e410803919)
This commit is contained in:
Matthijs Mekking 2019-03-05 10:50:25 +01:00
parent 321e87fbb7
commit 9227ed8665
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,15 @@
#!/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.
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
$SHELL clean.sh

View file

@ -10,6 +10,8 @@
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
$SHELL clean.sh
ln -s $CHECKZONE named-compilezone
./named-compilezone -D -F raw -o good1.db.raw example \

View file

@ -0,0 +1,15 @@
#!/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.
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
$SHELL clean.sh

View file

@ -0,0 +1,15 @@
#!/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.
# shellcheck source=conf.sh
. "$SYSTEMTESTTOP/conf.sh"
$SHELL clean.sh

View file

@ -809,6 +809,7 @@
./bin/tests/system/checkconf/notify.conf CONF-C 2014,2016,2018,2019
./bin/tests/system/checkconf/portrange-good.conf CONF-C 2015,2016,2018,2019
./bin/tests/system/checkconf/range.conf CONF-C 2013,2016,2018,2019
./bin/tests/system/checkconf/setup.sh SH 2019
./bin/tests/system/checkconf/shared.example.db ZONE 2015,2016,2018,2019
./bin/tests/system/checkconf/tests.sh SH 2005,2007,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019
./bin/tests/system/checkconf/view-class-any1.conf CONF-C 2016,2018,2019
@ -1640,6 +1641,7 @@
./bin/tests/system/lwresd/ns1/named.conf CONF-C 2000,2001,2004,2006,2007,2008,2016,2018,2019
./bin/tests/system/lwresd/ns1/root.db ZONE 2000,2001,2004,2007,2016,2018,2019
./bin/tests/system/lwresd/resolv.conf CONF-SH 2000,2001,2004,2007,2012,2016,2018,2019
./bin/tests/system/lwresd/setup.sh SH 2019
./bin/tests/system/lwresd/tests.sh SH 2000,2001,2004,2007,2011,2012,2013,2014,2016,2018,2019
./bin/tests/system/masterfile/clean.sh SH 2001,2004,2007,2010,2012,2014,2015,2016,2018,2019
./bin/tests/system/masterfile/knowngood.dig.out X 2001,2004,2012,2018,2019
@ -2018,6 +2020,7 @@
./bin/tests/system/rrchecker/classlist.good X 2013,2018,2019
./bin/tests/system/rrchecker/clean.sh SH 2013,2014,2016,2017,2018,2019
./bin/tests/system/rrchecker/privatelist.good X 2013,2018,2019
./bin/tests/system/rrchecker/setup.sh SH 2019
./bin/tests/system/rrchecker/tests.sh SH 2013,2014,2015,2016,2017,2018,2019
./bin/tests/system/rrchecker/typelist.good X 2013,2014,2015,2016,2017,2018,2019
./bin/tests/system/rrl/broken.conf CONF-C 2016,2018,2019