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
;
11 my $server = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
12 my $iorbase = "test.ior";
13 my $server_iorfile = $server->LocalFile ($iorbase);
14 $server->DeleteFile($iorbase);
16 $SV = $server->CreateProcess ("server", "");
18 $collocated = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
20 if ($collocated != 0) {
21 print STDERR
"ERROR: server returned $collocated\n";
25 $server->DeleteFile($iorbase);