From 3e42d5b2bb13bfdab3db7ca60cd0691705618ffb Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Wed, 14 Feb 2001 23:57:33 +0000 Subject: [PATCH] start and stop the servers in alphabetical order --- bin/tests/system/start.pl | 4 ++-- bin/tests/system/stop.pl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 259db2987a..94c06fabf2 100644 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -15,7 +15,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: start.pl,v 1.1 2001/02/13 23:39:50 nelsonm Exp $ +# $Id: start.pl,v 1.2 2001/02/14 23:57:32 gson Exp $ # Framework for starting test servers. # Based on the type of server specified, check for port availability, remove @@ -72,7 +72,7 @@ if ($server) { } else { # Determine which servers need to be started for this test. opendir DIR, $testdir; - my @files = readdir DIR; + my @files = sort readdir DIR; closedir DIR; my @ns = grep /^ns[0-9]*$/, @files; diff --git a/bin/tests/system/stop.pl b/bin/tests/system/stop.pl index 45f6a0e72d..f548c160e3 100644 --- a/bin/tests/system/stop.pl +++ b/bin/tests/system/stop.pl @@ -15,7 +15,7 @@ # NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION # WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# $Id: stop.pl,v 1.1 2001/02/13 23:41:00 nelsonm Exp $ +# $Id: stop.pl,v 1.2 2001/02/14 23:57:33 gson Exp $ # Framework for stopping test servers # Based on the type of server specified, signal the server to stop, wait @@ -59,7 +59,7 @@ if ($server) { } else { # Determine which servers need to be stopped for this test. opendir DIR, $testdir; - my @files = readdir DIR; + my @files = sort readdir DIR; closedir DIR; my @ns = grep /^ns[0-9]*$/, @files;