Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3566_Regression / run_test.pl
blobdbdef890b1d0f3ff9d2c7aad6e35c73411d413b8
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 ("server");
14 $server_status = $SV->Spawn ();
16 if ($server_status != 0) {
17 print STDERR "ERROR: server returned $server_status\n";
18 exit 1;
21 $server_status = $SV->WaitKill ($server->ProcessStartWaitInterval());
23 if ($server_status != 0) {
24 print STDERR "ERROR: server returned $server_status\n";
25 $status = 1;
28 exit $status;