Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Collocated_Forwarding / run_test.pl
blob492289f85b0f90f18156dac2ab8c5b5b5a0ffa12
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use lib "$ENV{ACE_ROOT}/bin";
8 use PerlACE::TestTarget;
10 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
12 print "Run server with direct collocation strategy\n";
14 $SV2 = $server->CreateProcess ("server", "-d -ORBCollocationStrategy direct");
16 $server2 = $SV2->SpawnWaitKill ($server->ProcessStartWaitInterval());
17 if ($server2 != 0) {
18 print STDERR "Server with direct collocation strategy return status = $server2\n";
19 exit 1;
22 print "Run server with pass thru collocation strategy\n";
24 $SV1 = $server->CreateProcess ("server");
26 $server1 = $SV1->SpawnWaitKill ($server->ProcessStartWaitInterval());
27 if ($server1 != 0) {
28 print STDERR "Server with thru poa collocation strategy return status = $server1\n";
29 exit 1;
32 exit 0;