summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Multiple/run_dynamic
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Multiple/run_dynamic')
-rwxr-xr-xTAO/orbsvcs/tests/EC_Multiple/run_dynamic11
1 files changed, 8 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/EC_Multiple/run_dynamic b/TAO/orbsvcs/tests/EC_Multiple/run_dynamic
index 9a1e98fc31c..7d2a0c94a99 100755
--- a/TAO/orbsvcs/tests/EC_Multiple/run_dynamic
+++ b/TAO/orbsvcs/tests/EC_Multiple/run_dynamic
@@ -3,6 +3,11 @@
# $Id$
#
+if [ -z "$NameServicePort" ]; then
+ NameServicePort=0
+ export NameServicePort
+fi
+
# The number of messages to send.
MSG_COUNT=100
@@ -32,7 +37,7 @@ trap 'done=1; \
for s in $HP_SUPPLIERS; do
for c in $LP_CONSUMERS; do
- ../../Naming_Service/Naming_Service \
+ ../../Naming_Service/Naming_Service -ORBport $NameServicePort \
-ORBobjrefstyle url -o NameService.ior >/dev/null 2>&1 &
NameServicePID=$!
sleep 2
@@ -43,11 +48,11 @@ for s in $HP_SUPPLIERS; do
export NameService
echo Consumers = $c Suppliers = $s
-# ./EC_Multiple -l ECM3 -s local -d sched \
+# ./EC_Multiple -ORBport 0 -l ECM3 -s local -d sched \
# -h ${s},${s},0,${HP_INTERVAL},${MSG_COUNT},1,2,1,2 \
# -w 1,${c},0,${LP_INTERVAL},${MSG_COUNT},3,4,3,4 > \
# DYN.LCL.S${s}.C${c}.log 2>&1
- ./EC_Multiple -l ECM3 -s runtime \
+ ./EC_Multiple -ORBport 0 -l ECM3 -s runtime \
-h ${s},${s},0,${HP_INTERVAL},${MSG_COUNT},1,2,1,2 \
-w 1,${c},0,${LP_INTERVAL},${MSG_COUNT},3,4,3,4 > \
DYN.LCL.S${s}.C${c}.log 2>&1