From 5abacc1d2a7f54d9e26320d90dcc36622454eac9 Mon Sep 17 00:00:00 2001 From: makke4ever Date: Tue, 24 May 2016 14:29:00 +0200 Subject: The test didn't fail when the startup of server3 was successful, because SpawnWaitKill not only returns -1 when the server couldn't start, but also when the server's still running after the wait. --- TAO/tests/ORB_init/Portspan/run_test.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TAO/tests/ORB_init/Portspan/run_test.pl b/TAO/tests/ORB_init/Portspan/run_test.pl index 19aae8fba75..548f79f8663 100755 --- a/TAO/tests/ORB_init/Portspan/run_test.pl +++ b/TAO/tests/ORB_init/Portspan/run_test.pl @@ -32,11 +32,12 @@ if ($server_status != 0) { exit 1; } -$server_status = $SV3->SpawnWaitKill ($server->ProcessStartWaitInterval()); +$server_status = $SV3->Spawn (); if ($server_status == 0) { print STDERR "ERROR: Last server didn't fail! Err:$server_status\n"; $SV1->Kill (); $SV2->Kill (); + $SV3->Kill (); exit 1; } -- cgit v1.2.1