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);
25 $SV = $server->CreateProcess ("Collocated_ThruP_Sp");
27 print STDERR
"======== Running in Default Mode \n";
28 $SV->Arguments ("-ORBdebuglevel $debug_level -o $server_iorfile -k file://$server_iorfile");
29 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
32 print STDERR
"ERROR in Collocated_Test\n";
35 $server->DeleteFile($iorbase);
37 print STDERR
"======== Running with global ORBCollocationStrategy\n";
38 $SV->Arguments ("-ORBdebuglevel $debug_level -o $server_iorfile -k file://$server_iorfile -ORBCollocation global");
39 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
42 print STDERR
"ERROR in Collocated_Test\n";
45 $server->DeleteFile($iorbase);
47 print STDERR
"======== Running with global ORBCollocationStrategy thru_poa\n";
48 $SV->Arguments ("-ORBdebuglevel $debug_level -o $server_iorfile -k file://$server_iorfile -ORBCollocation global -ORBCollocationStrategy thru_poa");
49 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
52 print STDERR
"ERROR in Collocated_Test\n";
56 $server->DeleteFile($iorbase);
57 $server->GetStderrLog();