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