1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
5 use lib
"$ENV{ACE_ROOT}/bin";
6 use PerlACE
::TestTarget
;
10 foreach my $i (@ARGV) {
16 my $target = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
18 my $iorbase = "server.ior";
19 my $server_iorfile = $target->LocalFile ($iorbase);
20 $target->DeleteFile ($iorbase);
24 print "Collocated\n\n";
26 my $shm = '-ORBSvcConf static_shmiop.conf -ORBListenEndpoints shmiop://';
28 my $SV = $target->CreateProcess ("shmiop_test", "-ORBDebugLevel $debug_level $shm " .
29 "-s $server_iorfile -c $server_iorfile");
31 my $server = $SV->SpawnWaitKill ($target->ProcessStartWaitInterval ());
34 print STDERR
"ERROR: Collocated test returned $server\n";
38 $target->DeleteFile ($iorbase);