blob: 2baf6b0cb0b1b88b5d43afb29a1d12532c2bd773 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
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'};
$DANCE_ROOT = "$ENV{'DANCE_ROOT'}";
PerlACE::add_lib_path ('../lib');
$SV1 = new PerlACE::Process ("$DANCE_ROOT/bin/dance_node_manager",
"-ORBEndpoint iiop://localhost:60001 -s $CIAO_ROOT/bin/ciao_componentserver -n Sender=NodeApp1.ior -t 30 --instance-nc corbaloc:rir:/NameService");
$SV2 = new PerlACE::Process ("$DANCE_ROOT/bin/dance_node_manager",
"-ORBEndpoint iiop://localhost:60002 -s $CIAO_ROOT/bin/ciao_componentserver -n Receiver=NodeApp2.ior -t 30 --instance-nc corbaloc:rir:/NameService");
$SV1->Spawn ();
$SV2->Spawn ();
sleep (99999999999);
|