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
;
12 print STDERR
"================ Reference Creation Test\n";
14 print STDERR
"\nTesting with hints (default configuration)\n";
16 my $server = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
18 $SV = $server->CreateProcess ("create_reference", " -i $iterations");
20 $status = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval() + 100);
23 print STDERR
"ERROR: create_reference returned $status\n";
27 print STDERR
"\nTesting without hints (optimized configuration)\n";
29 $no_active_hint_directive = "-ORBsvcconfdirective \"static Server_Strategy_Factory '-ORBActiveHintInIds 0'\"";
31 $SV->Arguments ("-i $iterations $no_active_hint_directive");
33 $status = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval() + 100);
36 print STDERR
"ERROR: create_reference returned $status\n";