Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / RTCORBA / Destroy_Thread_Pool / run_test.pl
blobc5178cd358d42051c7c996c395c119cfd0561404
1 eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
2 & eval 'exec perl -S $0 $argv:q'
3 if 0;
5 # -*- perl -*-
7 use lib "$ENV{ACE_ROOT}/bin";
8 use PerlACE::TestTarget;
10 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
12 $continuous = ($^O eq 'hpux');
14 print STDERR "\n********** RTCORBA Destroy_Thread_Pool Unit Test **********\n\n";
16 $SV = $server->CreateProcess ("Destroy_Thread_Pool");
17 if ($continuous) {
18 $SV->Arguments("-ORBSvcConf continuous$PerlACE::svcconf_ext");
21 $server_status = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
23 if ($server_status != 0) {
24 print STDERR "ERROR: test returned $server_status\n";
25 exit 1;
28 exit 0;