Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_2319_Regression / run_test.pl
blob2eb3c46a1ea834bd71799b4d358f1cf4286d5f46
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";
11 my $iorbase = "server.ior";
12 my $server_iorfile = $server->LocalFile ($iorbase);
13 $server->DeleteFile($iorbase);
15 $SV = $server->CreateProcess ("server", "-o $server_iorfile -k file://$server_iorfile");
17 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
19 if ($test != 0) {
20 print STDERR "ERROR: test returned $test\n";
21 exit 1;
24 exit 0;