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 my $svcconf = "svc.conf.csd";
13 my $server_svcconf = $server->LocalFile ($svcconf);
14 if ($server->PutFile ($svcconf) == -1) {
15 print STDERR
"ERROR: cannot set file <$server_svcconf>\n";
20 $SV = $server->CreateProcess ("Collocation", "-ORBSvcConf $server_svcconf");
22 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
25 print STDERR
"ERROR: test returned $test\n";