From fa342c624a5e7df0d10ef34586f8cfffbcd92c69 Mon Sep 17 00:00:00 2001 From: Brian Wellington Date: Wed, 21 Feb 2001 20:11:34 +0000 Subject: [PATCH] Added start.sh and stop.sh, which read the values from conf.sh into the environment and call the perl scripts. --- bin/tests/system/start.sh | 21 +++++++++++++++++++++ bin/tests/system/stop.sh | 21 +++++++++++++++++++++ util/copyrights | 6 ++++-- 3 files changed, 46 insertions(+), 2 deletions(-) create mode 100644 bin/tests/system/start.sh create mode 100644 bin/tests/system/stop.sh diff --git a/bin/tests/system/start.sh b/bin/tests/system/start.sh new file mode 100644 index 0000000000..d75d708387 --- /dev/null +++ b/bin/tests/system/start.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) 2001 Internet Software Consortium. +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM +# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL +# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +# $Id: start.sh,v 1.36 2001/02/21 20:11:33 bwelling Exp $ + +. conf.sh +./start.pl $* diff --git a/bin/tests/system/stop.sh b/bin/tests/system/stop.sh new file mode 100644 index 0000000000..30837e35be --- /dev/null +++ b/bin/tests/system/stop.sh @@ -0,0 +1,21 @@ +#!/bin/sh +# +# Copyright (C) 2001 Internet Software Consortium. +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM +# DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL +# INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, +# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +# $Id: stop.sh,v 1.19 2001/02/21 20:11:34 bwelling Exp $ + +. conf.sh +./stop.pl $* diff --git a/util/copyrights b/util/copyrights index 0136079d62..d0b16c3338 100644 --- a/util/copyrights +++ b/util/copyrights @@ -497,8 +497,10 @@ ./bin/tests/system/sortlist/ns1/named.conf CONF-C 2000,2001 ./bin/tests/system/sortlist/ns1/root.db ZONE 2000,2001 ./bin/tests/system/sortlist/tests.sh SH 2000,2001 -./bin/tests/system/start.sh SH 2000,2001 -./bin/tests/system/stop.sh SH 2000,2001 +./bin/tests/system/start.pl SH 2001 +./bin/tests/system/start.sh SH 2001 +./bin/tests/system/stop.pl SH 2001 +./bin/tests/system/stop.sh SH 2001 ./bin/tests/system/stress/clean.sh SH 2000,2001 ./bin/tests/system/stress/ns1/.cvsignore X 2000,2001 ./bin/tests/system/stress/ns1/named.conf CONF-C 2000,2001