diff options
Diffstat (limited to 'TAO/examples/POA/On_Demand_Loading/run_test.pl')
-rwxr-xr-x | TAO/examples/POA/On_Demand_Loading/run_test.pl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/examples/POA/On_Demand_Loading/run_test.pl b/TAO/examples/POA/On_Demand_Loading/run_test.pl index 4b87c9f280b..2b8e2439321 100755 --- a/TAO/examples/POA/On_Demand_Loading/run_test.pl +++ b/TAO/examples/POA/On_Demand_Loading/run_test.pl @@ -55,7 +55,12 @@ $CL1 = new PerlACE::Process ("../Generic_Servant/client", $CL2 = new PerlACE::Process ("../Generic_Servant/client", "$extra_args $oneway -i $iterations -k file://$iorfile2 -x"); -$SV->Spawn (); +$server = $SV->Spawn (); + +if ($server != 0) { + print STDERR "ERROR: server returned $server\n"; + exit 1; +} if (PerlACE::waitforfile_timed ($iorfile1, 15) == -1) { print STDERR "ERROR: cannot find file <$iorfile1>\n"; |