Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / RTScheduling / Thread_Cancel / run_test.pl
blob37740b60eb752011cb71cf62a6e63a0f4c33105a
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 $SV = $server->CreateProcess ("Thread_Cancel");
14 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
16 if ($test != 0) {
17 print STDERR "ERROR: test returned $test\n";
18 exit 1;
21 exit 0;