From f91db44ab9a6f7261e313f16b0beb6f9b315efa9 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Mon, 6 Feb 2012 23:20:38 +0000 Subject: [PATCH] verify server is answering before starting next server --- bin/tests/system/start.pl | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/tests/system/start.pl b/bin/tests/system/start.pl index 5b683f0bc3..a7379dcf1f 100644 --- a/bin/tests/system/start.pl +++ b/bin/tests/system/start.pl @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: start.pl,v 1.28 2011/10/13 01:32:32 vjs Exp $ +# $Id: start.pl,v 1.29 2012/02/06 23:20:38 marka Exp $ # Framework for starting test servers. # Based on the type of server specified, check for port availability, remove @@ -94,9 +94,8 @@ if ($server) { &check_ports(); foreach $name(@ns, @lwresd, @ans) { &start_server($name); - } - foreach $name(@ns) { - &verify_server($name); + &verify_server($name) if ($name =~ /^ns/); + } }