diff options
Diffstat (limited to 'TAO/tests/Bug_1551_Regression/run_test.pl')
-rwxr-xr-x | TAO/tests/Bug_1551_Regression/run_test.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/TAO/tests/Bug_1551_Regression/run_test.pl b/TAO/tests/Bug_1551_Regression/run_test.pl index 12139851d73..34a54b73517 100755 --- a/TAO/tests/Bug_1551_Regression/run_test.pl +++ b/TAO/tests/Bug_1551_Regression/run_test.pl @@ -45,11 +45,12 @@ $client2 = $CL2->Spawn (); $client3 = $CL3->Spawn (); -sleep (30); +sleep (30) if ($client1 == 0 && $client2 == 0 && $client3 == 0); + $SV->WaitKill (3) unless $sv1 < 0; -$CL1->WaitKill (3); -$CL2->WaitKill (3); -$CL3->WaitKill (3); +$client1 = $CL1->WaitKill (3); +$client2 = $CL2->WaitKill (3); +$client3 = $CL3->WaitKill (3); if ($client3 != 0){ $status = -1; |