summaryrefslogtreecommitdiff
path: root/TAO/tests/Nested_Upcall_Crash/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Nested_Upcall_Crash/run_test.pl')
-rwxr-xr-xTAO/tests/Nested_Upcall_Crash/run_test.pl7
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) {