Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_2936_Regression / run_test.pl
blobaf03b4517793d8203f4f02b6a40b2ef311cbb644
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 $status = 0;
14 my $iorbase = "test.ior";
15 my $server_iorfile = $server->LocalFile ($iorbase);
16 $server->DeleteFile($iorbase);
18 $SV = $server->CreateProcess ("server");
20 print STDERR "\n\n==== Running bug 2936 regression test\n";
22 $test = $SV->Spawn ();
24 if ($test != 0) {
25 print STDERR "ERROR: test returned $test\n";
26 exit 1;
29 $collocated = $SV->WaitKill ($server->ProcessStopWaitInterval() + 15);
31 if ($collocated != 0) {
32 print STDERR "ERROR: Bug_2936_Regression returned $collocated\n";
33 $status = 1;
36 $server->DeleteFile($iorbase);
38 exit $status;