1#!/bin/sh 2# $FreeBSD: releng/11.0/tools/regression/atm/RunTest.sh 170737 2007-06-14 20:11:48Z harti $ 3 4. ./Funcs.sh 5 6# 7# Just check the legality of the options and pass them along 8# 9args=`getopt b:hq $*` 10if [ $? -ne 0 ] ; then 11 fatal "Usage: $0 [-q] [-b <localbase>]" 12fi 13 14usage() { 15 msg "Usage: RunTest.sh [-hq] [-b <localbase>]" 16 msg "Options:" 17 msg " -h show this info" 18 msg " -b <localbase> localbase if not /usr/local" 19 msg " -q be quite" 20 exit 0 21} 22 23options="" 24set -- $args 25for i 26do 27 case "$i" 28 in 29 30 -h) usage;; 31 -b) options="$options $i $2" ; shift; shift;; 32 -q) options="$options $i" ; shift;; 33 --) shift; break;; 34 esac 35done 36 37(cd proto_sscop ; sh ./RunTest.sh -u $options) 38(cd proto_sscfu ; sh ./RunTest.sh -u $options) 39(cd proto_uni ; sh ./RunTest.sh -u $options) 40(cd proto_cc ; sh ./RunTest.sh -u $options) 41 42(cd proto_sscop ; sh ./RunTest.sh $options) 43(cd proto_sscfu ; sh ./RunTest.sh $options) 44(cd proto_uni ; sh ./RunTest.sh $options) 45(cd proto_cc ; sh ./RunTest.sh $options) 46