Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_2805_Regression / run_test.pl
blob88d49e3467bb74bb33eb5f913637b01830dfdd0e
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 $debug_level = '0';
11 foreach $i (@ARGV) {
12 if ($i eq '-debug') {
13 $debug_level = '1';
17 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
19 my $iorbase = "ior";
20 my $server_iorfile = $server->LocalFile ($iorbase);
22 $SV = $server->CreateProcess ("client", "-ORBdebuglevel $debug_level -k file://$server_iorfile");
24 $test = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
26 if ($test != 0) {
27 print STDERR "ERROR: test returned $test\n";
28 exit 1;
31 exit 0;