Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / orbsvcs / tests / Notify / Bug_3646b_Regression / run_test.pl
blob3b0346b0e64c0d64e062318f59e026ab0ccb917b
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 my $server = PerlACE::TestTarget::create_target (1) || die "Create target 1 failed\n";
12 my $iorbase = "test.ior";
13 my $server_iorfile = $server->LocalFile ($iorbase);
14 $server->DeleteFile($iorbase);
16 $SV = $server->CreateProcess ("server", "");
18 $collocated = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
20 if ($collocated != 0) {
21 print STDERR "ERROR: server returned $collocated\n";
22 $status = 1;
25 $server->DeleteFile($iorbase);
27 exit $status;