freebsd-nq/tools/regression/atm/RunTest.sh
Hartmut Brandt ac9c95fde8 These scripts run the protocol test suites for the SSCOP, SSCF-UNI and
UNI protocols. The actual test suites are not in these directories because
of their size. One needs to install the atmsupport port (the script
will remind you, if it cannot find the port).

The SSCOP test suite includes booth the ETSI and the ITU-T test suite,
the SSCF-UNI test suite is home grown and the UNI test suite is the
P2MP ETSI test suite. Others may follow.
2004-01-29 16:01:57 +00:00

44 lines
806 B
Bash

#!/bin/sh
# $FreeBSD$
. ./Funcs.sh
#
# Just check the legality of the options and pass them along
#
args=`getopt b:hq $*`
if [ $? -ne 0 ] ; then
fatal "Usage: $0 [-q] [-b <localbase>]"
fi
usage() {
msg "Usage: RunTest.sh [-hq] [-b <localbase>]"
msg "Options:"
msg " -h show this info"
msg " -b <localbase> localbase if not /usr/local"
msg " -q be quite"
exit 0
}
options=""
set -- $args
for i
do
case "$i"
in
-h) usage;;
-b) options="$options $i $2" ; shift; shift;;
-q) options="$options $i" ; shift;;
--) shift; break;;
esac
done
(cd proto_uni ; ./RunTest.sh -u $options)
(cd proto_sscop ; ./RunTest.sh -u $options)
(cd proto_sscfu ; ./RunTest.sh -u $options)
(cd proto_uni ; ./RunTest.sh $options)
(cd proto_sscop ; ./RunTest.sh $options)
(cd proto_sscfu ; ./RunTest.sh $options)