1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
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());
18 print STDERR
"Server with direct collocation strategy return status = $server2\n";
22 print "Run server with pass thru collocation strategy\n";
24 $SV1 = $server->CreateProcess ("server");
26 $server1 = $SV1->SpawnWaitKill ($server->ProcessStartWaitInterval());
28 print STDERR
"Server with thru poa collocation strategy return status = $server1\n";