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";
11 $server->AddLibPath ('../lib');
13 $server->AddRuntimeLibrary ('TAO_Codeset');
15 my @confbases = ('Service_Config_Test.conf', 'Service_Config_Test.UTF-16.conf', 'Service_Config_Test.WCHAR_T.conf');
16 foreach my $conffilebase (@confbases) {
17 my $conffile = $server->LocalFile ($conffilebase);
19 # copy the configuation files
20 if ($server->PutFile ($conffilebase) == -1) {
21 print STDERR
"ERROR: cannot set file <$conffile>\n";
24 if ($server->PutFile ($conffilebase.'.xml') == -1) {
25 print STDERR
"ERROR: cannot set file <$conffile".'.xml'.">\n";
30 $SV = $server->CreateProcess ("Test");
32 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
35 print STDERR
"ERROR: test returned $test\n";