summaryrefslogtreecommitdiff
path: root/modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl')
-rw-r--r--modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl40
1 files changed, 40 insertions, 0 deletions
diff --git a/modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl b/modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl
new file mode 100644
index 00000000000..a83b4dc1638
--- /dev/null
+++ b/modules/CIAO/examples/Hello/descriptors_events/run_NodeDaemons_with_ip.pl
@@ -0,0 +1,40 @@
+eval '(exit $?0)' && eval 'exec perl -S $0 ${1+"$@"}'
+ & eval 'exec perl -S $0 $argv:q'
+ if 0;
+
+# $Id$
+# -*- perl -*-
+
+use lib "$ENV{ACE_ROOT}/bin";
+use PerlACE::Run_Test;
+
+$status = 0;
+$iorfile1 = PerlACE::LocalFile ("NodeApp1.ior");
+$iorfile2 = PerlACE::LocalFile ("NodeApp2.ior");
+
+#for ($iter = 0; $iter <= $#ARGV; $iter++) {
+# if ($ARGV[$iter] eq "-h" || $ARGV[$iter] eq "-?") {
+# print "Run_Test Perl script for NodeApplicationTest \n\n";
+# print "run_test \n";
+# print "\n";
+# print "-h -- prints this information\n";
+# exit 0;
+# }
+#}
+
+
+unlink $iorfile1;
+unlink $iorfile2;
+
+$CIAO_ROOT=$ENV{'CIAO_ROOT'};
+
+$SV1 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager",
+ "-ORBEndpoint iiop://129.59.129.181:60001 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication -d 500");
+
+$SV2 = new PerlACE::Process ("$CIAO_ROOT/DAnCE/NodeManager/NodeManager",
+ "-ORBEndpoint iiop://129.59.129.181:60002 -s $CIAO_ROOT/DAnCE/NodeApplication/NodeApplication -d 500");
+
+$SV1->Spawn ();
+$SV2->Spawn ();
+
+sleep (99999999999);