14 msg "Usage: RunTest.sh [-hq] [-b <localbase>]"
16 msg " -h show this info"
17 msg " -b <localbase> localbase if not /usr/local"
19 msg " -u run user space test, not kernel"
24 args=`getopt b:hqu $*`
25 if [ $? -ne 0 ] ; then
26 fatal "Usage: $0 [-qu] [-b <localbase>]"
37 -u|-q) options="$options $i"; shift;;
38 -b) LOCALBASE="$2"; shift; shift;;
43 if [ "$LOCALBASE" = "" ] ; then
44 LOCALBASE="/usr/local"
46 pkg_info -I atmsupport-\* 2>/dev/null >/dev/null
47 if [ $? -ne 0 ] ; then
48 fatal "Atmsupport package not installed. \
49 Goto /usr/ports/net/atmsupport,\ntype 'make ; make install ; make clean' \
50 and re-run this script"