diff options
Diffstat (limited to 'TAO/examples/POA/Adapter_Activator/run_test.pl')
-rwxr-xr-x | TAO/examples/POA/Adapter_Activator/run_test.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/examples/POA/Adapter_Activator/run_test.pl b/TAO/examples/POA/Adapter_Activator/run_test.pl index 016b1663ab0..33b45a6a390 100755 --- a/TAO/examples/POA/Adapter_Activator/run_test.pl +++ b/TAO/examples/POA/Adapter_Activator/run_test.pl @@ -54,7 +54,12 @@ unlink $iorfile_3; $SV = new PerlACE::Process ("server", "-f $iorfile $extra_args"); $CL = new PerlACE::Process ("../Generic_Servant/client"); -$SV->Spawn (); +$server = $SV->Spawn (); + +if ($server != 0) { + print STDERR "ERROR: server returned $server\n"; + exit 1; +} if (PerlACE::waitforfile_timed ($iorfile_1, 15) == -1) { print STDERR "ERROR: cannot find file <$iorfile_1>\n"; |