-#! /bin/sh
+#! /bin/bash
#
#-----------------------------------------------------------------------
# Copyright (c) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
# generic initialization
iam=new
-. ./common.rc
+. ./common/rc
trap "rm -f /tmp/$$.; exit" 0 1 2 3 15
:
}
-# fqdn for localhost
-_get_fqdn()
-{
- NSLOOKUP_PROG="`set_prog_path nslookup`"
- if [ "$NSLOOKUP_PROG" = "" ]; then
- getent hosts `uname -n` | awk '{print $2}'
- else
- $NSLOOKUP_PROG `hostname` | $AWK_PROG '{ if ($1 == "Name:") print $2 }'
- fi
-}
-
if [ ! -f group ]
then
echo "Creating the group index ..."
year=`date +%Y`
cat <<End-of-File >$id
-#! /bin/sh
+#! /bin/bash
# FS QA Test No. $id
#
# what am I here for?
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#-----------------------------------------------------------------------
#
-# creator
-owner=$USER@`_get_fqdn`
seq=\`basename \$0\`
+seqres=\$RESULT_DIR/\$seq
echo "QA output created by \$seq"
here=\`pwd\`
}
# get standard environment, filters and checks
-. ./common.rc
-. ./common.filter
+. ./common/rc
+. ./common/filter
# real QA test starts here
# optional stuff if your test has verbose output to help resolve problems
#echo
-#echo "If failure, check \$seq.full (this) and \$seq.full.ok (reference)"
+#echo "If failure, check \$seqres.full (this) and \$seqres.full.ok (reference)"
# success, all done
status=0