xfstests: fix common source file path
[xfstests-dev.git] / new
diff --git a/new b/new
index 8e32824b0074e23c0cd42e6f5f28dfb9af9f8b64..d9c38c8236094a60f844846685a46d8c3b16009e 100755 (executable)
--- a/new
+++ b/new
@@ -1,4 +1,4 @@
-#! /bin/sh
+#! /bin/bash
 #
 #-----------------------------------------------------------------------
 #  Copyright (c) 2000-2005 Silicon Graphics, Inc.  All Rights Reserved.
@@ -23,7 +23,7 @@
 
 # generic initialization
 iam=new
-. ./common.rc
+. ./common/rc
 
 trap "rm -f /tmp/$$.; exit" 0 1 2 3 15
 
@@ -82,7 +82,7 @@ echo -n "Creating skeletal script for you to edit ..."
 year=`date +%Y`
 
 cat <<End-of-File >$id
-#! /bin/sh
+#! /bin/bash
 # FS QA Test No. $id
 #
 # what am I here for?
@@ -105,9 +105,8 @@ cat <<End-of-File >$id
 #-----------------------------------------------------------------------
 #
 # creator
-owner=$USER@`_get_fqdn`
-
 seq=\`basename \$0\`
+seqres=$RESULT_DIR/$seq
 echo "QA output created by \$seq"
 
 here=\`pwd\`
@@ -122,8 +121,8 @@ _cleanup()
 }
 
 # get standard environment, filters and checks
-. ./common.rc
-. ./common.filter
+. ./common/rc
+. ./common/filter
 
 # real QA test starts here
 
@@ -136,7 +135,7 @@ 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