summaryrefslogtreecommitdiff
path: root/TAO/tests/LongUpcalls/run_ami_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/LongUpcalls/run_ami_test.pl')
-rwxr-xr-xTAO/tests/LongUpcalls/run_ami_test.pl45
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/tests/LongUpcalls/run_ami_test.pl b/TAO/tests/LongUpcalls/run_ami_test.pl
deleted file mode 100755
index 9e6ce61b975..00000000000
--- a/TAO/tests/LongUpcalls/run_ami_test.pl
+++ /dev/null
@@ -1,45 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# $Id$
-# -*- perl -*-
-
-use lib '../../../bin';
-use PerlACE::Run_Test;
-
-$iorfile = PerlACE::LocalFile ("server.ior");
-unlink $iorfile;
-
-$SV = new PerlACE::Process ("ami_server", "-o $iorfile");
-$CL = new PerlACE::Process ("ami_client", " -k file://$iorfile");
-
-print STDERR "Running the ami tests that used to block \n";
-$SV->Spawn ();
-
-if (PerlACE::waitforfile_timed ($iorfile, 15) == -1) {
- print STDERR "ERROR: cannot find file <$iorfile>\n";
- $SV->Kill (); $SV->TimedWait (1);
- exit 1;
-}
-
-$CL->Spawn (60);
-
-$client = $CL->WaitKill (60);
-
-if ($client1 != 0) {
- print STDERR "ERROR: client 1 returned $client1\n";
- $status = 1;
-}
-
-
-$server = $SV->TerminateWaitKill (5);
-
-if ($server != 0) {
- print STDERR "ERROR: server returned $server\n";
- $status = 1;
-}
-
-unlink $iorfile;
-
-exit $status;