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";
14 my $iorbase = "test.ior";
15 my $server_iorfile = $server->LocalFile ($iorbase);
16 $server->DeleteFile($iorbase);
18 $SV = $server->CreateProcess ("server");
20 print STDERR
"\n\n==== Running bug 2936 regression test\n";
22 $test = $SV->Spawn ();
25 print STDERR
"ERROR: test returned $test\n";
29 $collocated = $SV->WaitKill ($server->ProcessStopWaitInterval() + 15);
31 if ($collocated != 0) {
32 print STDERR
"ERROR: Bug_2936_Regression returned $collocated\n";
36 $server->DeleteFile($iorbase);