blob: c5178cd358d42051c7c996c395c119cfd0561404 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
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;
my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
$continuous = ($^O eq 'hpux');
print STDERR "\n********** RTCORBA Destroy_Thread_Pool Unit Test **********\n\n";
$SV = $server->CreateProcess ("Destroy_Thread_Pool");
if ($continuous) {
$SV->Arguments("-ORBSvcConf continuous$PerlACE::svcconf_ext");
}
$server_status = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
if ($server_status != 0) {
print STDERR "ERROR: test returned $server_status\n";
exit 1;
}
exit 0;
|