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 $iorbase = "test.ior";
13 my $server_iorfile = $server->LocalFile ($iorbase);
14 $server->DeleteFile($iorbase);
18 $SV = $server->CreateProcess ("Collocated_Best_Direct");
20 print STDERR
"======== Running with ORBCollocationg = global, -ORBCollocationStrategy = direct)\n";
21 $SV->Arguments ("-o $server_iorfile -k file://$server_iorfile -ORBCollocation global -ORBCollocationStrategy direct");
22 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
25 print STDERR
"ERROR in Collocated_Test\n";
28 $server->DeleteFile($iorbase);
30 $server->DeleteFile($iorbase);
32 print STDERR
"======== Running with -ORBCollocation global -ORBCollocationStrategy best \n";
33 $SV->Arguments ("-o $server_iorfile -k file://$server_iorfile -ORBCollocation global -ORBCollocationStrategy best");
34 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
37 print STDERR
"ERROR in Collocated_Test\n";
41 $server->DeleteFile($iorbase);
42 $server->GetStderrLog();