diff options
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Multiple/run_schedule')
-rwxr-xr-x | TAO/orbsvcs/tests/EC_Multiple/run_schedule | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/EC_Multiple/run_schedule b/TAO/orbsvcs/tests/EC_Multiple/run_schedule index 7512b8914d1..310f36b567a 100755 --- a/TAO/orbsvcs/tests/EC_Multiple/run_schedule +++ b/TAO/orbsvcs/tests/EC_Multiple/run_schedule @@ -3,6 +3,11 @@ # $Id$ # +if [ -z "$NameServicePort" ]; then + NameServicePort=0 + export NameServicePort +fi + # The number of high-priority messages to send. HP_MSG_COUNT=400 @@ -23,17 +28,17 @@ LP_SUPPLIERS=5 /bin/rm -f NameService.ior NameService.pid EC1.pid EC2.pid EC.pid -../../Naming_Service/Naming_Service \ +../../Naming_Service/Naming_Service -ORBport $NameServicePort \ -o NameService.ior -p NameService.pid >/dev/null 2>&1 & sleep 2 NameService=`cat NameService.ior` export NameService -./EC_Multiple -l ECM1 -r ECM2 -p ECM1.pid \ +./EC_Multiple -ORBport 0 -l ECM1 -r ECM2 -p ECM1.pid \ -h ${HP_SUPPLIERS},${HP_CONSUMERS},1,${HP_MSG_COUNT},1,2,1,3 \ -w ${LP_SUPPLIERS},${LP_CONSUMERS},1,${LP_MSG_COUNT},4,5,4,5 \ -d SCHED_ECM1.cpp > SCH1.log 2>&1 & -./EC_Multiple -l ECM2 -r ECM1 -p ECM2.pid \ +./EC_Multiple -ORBport 0 -l ECM2 -r ECM1 -p ECM2.pid \ -h ${HP_SUPPLIERS},${HP_CONSUMERS},1,${HP_MSG_COUNT},6,3,6,2 \ -w ${LP_SUPPLIERS},${LP_CONSUMERS},1,${LP_MSG_COUNT},7,8,7,8 \ -d SCHED_ECM2.cpp > SCH2.log 2>&1 & |