diff options
Diffstat (limited to 'TAO/tests/Param_Test/run_test.sh')
-rwxr-xr-x | TAO/tests/Param_Test/run_test.sh | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/TAO/tests/Param_Test/run_test.sh b/TAO/tests/Param_Test/run_test.sh deleted file mode 100755 index 8b0a7ef384c..00000000000 --- a/TAO/tests/Param_Test/run_test.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# $Id$ - -uid=`id | cut -c5-20 | cut -f1 -d"("` -port=`expr 30001 + $uid` -iorfile=theior -invocation=sii - -if [ `uname -s` = 'SunOS' ]; then - #### SunOS sh's trap doesn't understand symbolic names for signals. - sigchld=18 -else - sigchld='SIGCHLD' - # Don't do this on SunOS. It goes into an endless loop. - trap "start_server" $sigchld -fi - -start_server() -{ - ./server -ORBobjrefstyle url -ORBport $port -o $iorfile 2>&1 | \ - sed -e 's/^/SERVER: /' & - server_pid=`ps | grep server | grep -v grep | awk '{print $1;}'` - sleep 2 # Give the server a chance to start up -} - -# Restart the server if we get SIGCHLD, i.e., the server died. -start_server -trap "kill $server_pid; rm -f $iorfile" 0 1 2 3 15 - -types="short ubstring fixed_struct strseq var_struct nested_struct struct_seq objref" -for type in $types -do - echo "BEGIN Testing type $type" - ./client -f $iorfile -i $invocation -t $type 2>&1 | \ - sed -e "s/^/CLIENT($type): /" - echo "END Testing type $type" -done |