Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / Bug_3821_Regression / run_test.pl
blobfc3d328e81b8b123978fae628940a5a7264d53b3
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 $status = 0;
12 my $client = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
14 $CL = $client->CreateProcess ("client");
16 print "Starting Test\n";
17 $client_status = $CL->SpawnWaitKill ($client->ProcessStartWaitInterval());
18 print "Ended Test\n";
20 if ($client_status != 0) {
21 print STDERR "ERROR: client returned $client_status\n";
22 $status = 1;
25 exit $status;