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
;
18 elsif ($i eq '-file') {
23 my $client = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
25 my $iorbase = "test.ior";
26 my $client_iorfile = $client->LocalFile ($iorbase);
27 my $ior_arg = ($use_file == 0) ?
"corbaloc::1.2\@192.100.0.0:49440/no_object" : "file://$client_iorfile";
29 $CL = $client->CreateProcess ("client");
31 my @synchs = ("none","delayed");
32 my @levels = ("obj", "orb", "thread");
34 foreach $synch (@synchs) {
35 foreach $level (@levels) {
36 $CL->Arguments ("-ORBDebuglevel $debug_level -k $ior_arg -s$synch -l$level");
38 $client_status = $CL->SpawnWaitKill ($client->ProcessStartWaitInterval() + 285);
40 if ($client_status != 0) {
41 print STDERR
"ERROR: client returned $client_status\n";
45 print STDOUT
"----------\n";