summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Triangle_Test/run_test.pl
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/NestedUpcall/Triangle_Test/run_test.pl')
-rwxr-xr-xTAO/tests/NestedUpcall/Triangle_Test/run_test.pl66
1 files changed, 0 insertions, 66 deletions
diff --git a/TAO/tests/NestedUpcall/Triangle_Test/run_test.pl b/TAO/tests/NestedUpcall/Triangle_Test/run_test.pl
deleted file mode 100755
index a50f480156c..00000000000
--- a/TAO/tests/NestedUpcall/Triangle_Test/run_test.pl
+++ /dev/null
@@ -1,66 +0,0 @@
-eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
- & eval 'exec perl -S $0 $argv:q'
- if 0;
-
-# $Id$
-# -*- perl -*-
-
-unshift @INC, '../../../../bin';
-require Process;
-require ACEutils;
-
-$ior1file = "servera.ior";
-$ior2file = "serverb.ior";
-
-# Make sure these aren't hanging around
-unlink $ior1file;
-unlink $ior2file;
-
-$SV1 = Process::Create ($EXEPREFIX."server_A".$EXE_EXT,
- "-o $ior1file");
-
-if (ACE::waitforfile_timed ($ior1file, 15) == -1) {
- print STDERR "ERROR: cannot find file <$ior1file>\n";
- $SV1->Kill (); $SV1->TimedWait (1);
- exit 1;
-}
-
-$SV2 = Process::Create ($EXEPREFIX."server_B".$EXE_EXT,
- "-o $ior2file");
-
-if (ACE::waitforfile_timed ($ior2file, 5) == -1) {
- print STDERR "ERROR: cannot find file <$ior1file>\n";
- $SV2->Kill (); $SV2->TimedWait (1);
- exit 1;
-}
-
-$CL = Process::Create ($EXEPREFIX."initiator".$EXE_EXT,
- " -f $ior1file -g $ior2file");
-
-$client = $CL->TimedWait (60);
-if ($client == -1) {
- print STDERR "ERROR: client timedout\n";
- $CL->Kill (); $CL->TimedWait (1);
-}
-
-$SV1->Terminate (); $server1 = $SV1->TimedWait (5);
-if ($server1 == -1) {
- print STDERR "ERROR: cannot terminate server1\n";
- $SV1->Kill (); $SV1->TimedWait (1);
-}
-
-$SV2->Terminate (); $server1 = $SV2->TimedWait (5);
-if ($server2 == -1) {
- print STDERR "ERROR: cannot terminate server2\n";
- $SV2->Kill (); $SV2->TimedWait (1);
-}
-
-# Clean up
-unlink $ior1file;
-unlink $ior2file;
-
-if ($client == -1 || $server1 == -1 || $server2 == -1) {
- exit 1;
-}
-
-exit 0;