Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Bug_2377_Regression / run_test.pl
bloba16d55ba475a6fc68bfca620369af6835a0ed876
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;
11 $debug_level = '0';
13 foreach $i (@ARGV) {
14 if ($i eq '-debug') {
15 $debug_level = '10';
19 my $test = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
21 $T = $test->CreateProcess("uipmc_test",
22 "-ORBdebuglevel $debug_level ".
23 "-u corbaloc:miop:1.0\@1.0-cdmwftdomain-1/225.1.1.8:5555 " .
24 "-c corbaloc:miop:1.0\@1.0-cdmwftdomain-1/225.1.1.7:5555");
27 $test_status = $T->SpawnWaitKill ($test->ProcessStartWaitInterval());
29 if ($test_status != 0) {
30 print STDERR "ERROR: uipmc_test returned $test_status\n";
31 $status = 1;
34 exit $status;