diff options
Diffstat (limited to 'TAO/tests/Crashed_Callback/run_test.pl')
-rwxr-xr-x | TAO/tests/Crashed_Callback/run_test.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tests/Crashed_Callback/run_test.pl b/TAO/tests/Crashed_Callback/run_test.pl index 3a4c0757721..d6717422f05 100755 --- a/TAO/tests/Crashed_Callback/run_test.pl +++ b/TAO/tests/Crashed_Callback/run_test.pl @@ -10,6 +10,7 @@ use PerlACE::Run_Test; $iorfile = PerlACE::LocalFile ("server.ior"); unlink $iorfile; +$status = 0; $SV = new PerlACE::Process ("server", "-o $iorfile"); $CL = new PerlACE::Process ("client", " -k file://$iorfile"); @@ -22,7 +23,7 @@ if (PerlACE::waitforfile_timed ($iorfile, 5) == -1) { exit 1; } -$CL->SpawnWaitKill (60); +$client = $CL->SpawnWaitKill (60); # The client crashes, therefore it normally exists with status != 0, # but a status of -1 would be a serious error. |