blob: 6bc6f613b9ce0a5cc202039efc4226f10f07f8d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
& eval 'exec perl -S $0 $argv:q'
if 0;
# -*- perl -*-
use lib "$ENV{ACE_ROOT}/bin";
use PerlACE::TestTarget;
use strict;
my $target = PerlACE::TestTarget::create_target(1)
or die "Create target failed\n";
my $test = $target->CreateProcess("client");
my $result = $test->SpawnWaitKill($target->ProcessStartWaitInterval());
if ($result != 0) {
print STDERR "ERROR: test returned $result\n";
exit 1;
}
exit 0;
|