diff options
Diffstat (limited to 'TAO/tests/Nested_Upcall_Crash/run_test.pl')
-rwxr-xr-x | TAO/tests/Nested_Upcall_Crash/run_test.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Nested_Upcall_Crash/run_test.pl b/TAO/tests/Nested_Upcall_Crash/run_test.pl index bc8d423012c..989ed322313 100755 --- a/TAO/tests/Nested_Upcall_Crash/run_test.pl +++ b/TAO/tests/Nested_Upcall_Crash/run_test.pl @@ -21,7 +21,12 @@ $CL1 = new PerlACE::Process ("client", "-k file://$iorfile"); $CL2 = new PerlACE::Process ("client", "-k file://$iorfile"); $CL3 = new PerlACE::Process ("client", "-k file://$iorfile"); -$SV->Spawn (); +$server_spawn = $SV->Spawn (); + +if ($server_spawn != 0) { + print STDERR "ERROR: server returned $server\n"; + exit 1 +} if (PerlACE::waitforfile_timed ($iorfile, $PerlACE::wait_interval_for_process_creation) == -1) { |