1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
7 # This is a Perl script that runs the client and all the other servers that
10 use lib
"$ENV{ACE_ROOT}/bin";
11 use PerlACE
::TestTarget
;
22 my $test = PerlACE
::TestTarget
::create_target
(1) || die "Create target 1 failed\n";
24 $test->AddLibPath ('../lib');
26 my $svc_pull_conf = "svc.pull$PerlACE::svcconf_ext";
27 my $test_svc_pull_conf = $test->LocalFile ("svc.pull$PerlACE::svcconf_ext");
33 my $arguments = shift;
35 my $T = $test->CreateProcess ($program, $arguments);
37 print STDERR
"\n\n$message\n";
39 my $process_status = $T->SpawnWaitKill ($test->ProcessStartWaitInterval() + 225);
41 if ($process_status != 0) {
42 print STDERR
"ERROR: Test returned $process_status\n";
47 RunTest
("\n\nShutdown EC with clients still attached\n",
51 RunTest
("\n\nDisconnect callbacks test\n",
55 RunTest
("\n\nMT Disconnects test\n",
59 RunTest
("\n\nPush Events\n",
63 RunTest
("\n\nPull-Push Events\n",
65 "-ORBSvcConf $svc_pull_conf");
67 RunTest
("\n\nRandom\n",