Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Collocation_Exception_Test / run_test.pl
blob581faa38f5161a4895bb13cd071be0bb2e033dc8
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 $iorbase = "test.ior";
13 my $server_iorfile = $server->LocalFile ($iorbase);
14 $server->DeleteFile($iorbase);
15 $status = 0;
17 $SV = $server->CreateProcess ("Collocated_Test");
19 $SV->Arguments ("-o $server_iorfile -k file://$server_iorfile");
21 print STDERR "======== Running in Default Mode \n";
22 $sv = $SV->SpawnWaitKill ($server->ProcessStartWaitInterval());
24 if ($sv != 0) {
25 print STDERR "ERROR in Collocation_Exception_Test\n";
26 $status = 1;
28 $server->DeleteFile($iorbase);
29 $server->GetStderrLog();
31 exit $status;