fsx: increase number of logged operations
[xfstests-dev.git] / new
diff --git a/new b/new
index eb5e0cbb0dd1a1cb3d32fa6abca3ab722dcd7bf3..f3e6fa1fb594c54f0dd080e7c312a814bc195290 100755 (executable)
--- a/new
+++ b/new
@@ -23,7 +23,7 @@
 
 # generic initialization
 iam=new
-. ./common.rc
+. ./common/rc
 
 trap "rm -f /tmp/$$.; exit" 0 1 2 3 15
 
@@ -32,17 +32,6 @@ _cleanup()
     :
 }
 
-# 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 ..."
@@ -115,10 +104,9 @@ cat <<End-of-File >$id
 # 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\`
@@ -133,21 +121,22 @@ _cleanup()
 }
 
 # get standard environment, filters and checks
-. ./common.rc
-. ./common.filter
+. ./common/rc
+. ./common/filter
 
 # real QA test starts here
 
 # Modify as appropriate.
 _supported_fs generic
 _supported_os IRIX Linux
+_require_test
 
 # if error
 exit
 
 # 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