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 my $target1 = PerlACE
::TestTarget
::create_target
(1);
13 my $target2 = PerlACE
::TestTarget
::create_target
(1);
15 my $sender = $target1->CreateProcess("sender", "224.1.2.3:12345");
16 my $receiver = $target2->CreateProcess("receiver", "224.1.2.3:12345");
20 # Wait for receiver to start.
22 sleep ($target1->ProcessStartWaitInterval());
26 $status = $receiver->WaitKill ($target2->ProcessStopWaitInterval() + 30);
29 print STDERR
"ERROR: receiver returned $status\n";
35 $target1->GetStderrLog();
36 $target2->GetStderrLog();