diff options
author | makke4ever <maarten_vanhout@msn.com> | 2016-05-24 14:29:00 +0200 |
---|---|---|
committer | makke4ever <maarten_vanhout@msn.com> | 2016-05-24 14:29:00 +0200 |
commit | 5abacc1d2a7f54d9e26320d90dcc36622454eac9 (patch) | |
tree | 464232bd0dfe873922d41191128e35da03d64e15 | |
parent | e8814092903b46280c792835e1497aa6cf5acaec (diff) | |
download | ATCD-5abacc1d2a7f54d9e26320d90dcc36622454eac9.tar.gz |
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.
-rwxr-xr-x | TAO/tests/ORB_init/Portspan/run_test.pl | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |