#!/usr/bin/sh
# shell script to run two servers and one client performing an overall test
# $Id: runTEST,v 1.1 2000/03/29 15:45:35 kiefer Exp $

# TODO: adapt to suit your settings
ORB="${JACORB}"
NSURL="${HOME}/public_html/jacorb/NS_Ref"
DSURL="${HOME}/public_html/jacorb/DS_Ref"

# start name server
ns ${NSURL} & 
#echo '<enter> for continue after startup of name server' ; read i

cd ${ORB}/classes

# start domain server with some context test policies
jaco jacorb.orb.domain.test.DomainTesterServer ${DSURL} & 
echo '<enter> for continue after startup of domain server' ; read i

# start client domain tester with input redirection
jaco jacorb.orb.domain.test.DomainTesterClient < ${ORB}/src/jacorb/orb/domain/test/inputfiles/DomainTesterClient.scenario

# start reference tester with input redirection
jaco jacorb.orb.domain.test.ReferenceTester < ${ORB}/src/jacorb/orb/domain/test/inputfiles/ReferenceTester.1

# clean up
killer jaco
killer java
