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 $conffilebase = "Bug_3251.conf";
13 my $conffile = $server->LocalFile ($conffilebase);
15 # copy the configuation files
16 if ($server->PutFile ($conffilebase) == -1) {
17 print STDERR
"ERROR: cannot set file <$conffile>\n";
20 if ($server->PutFile ($conffilebase.'.xml') == -1) {
21 print STDERR
"ERROR: cannot set file <$conffile".'.xml'.">\n";
25 $SV = $server->CreateProcess ("server");
27 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
30 print STDERR
"ERROR: test returned $test\n";