xfstests: set correct seqres variable in new when creating test template
authorEryu Guan <eguan@redhat.com>
Mon, 1 Apr 2013 10:58:15 +0000 (10:58 +0000)
committerRich Johnston <rjohnston@sgi.com>
Mon, 1 Apr 2013 13:16:37 +0000 (08:16 -0500)
When setting seqres in the new script, '$' should be escaped,
otherwise seqres will be set to '/' not '$RESULT_DIR/$seq'

Signed-off-by: Eryu Guan <eguan@redhat.com>
Reviewed-by: Rich Johnston <rjohnston@sgi.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
new

diff --git a/new b/new
index d9c38c8236094a60f844846685a46d8c3b16009e..2bc1e8fdd639eefb17fc426047f54ae84a5ef417 100755 (executable)
--- a/new
+++ b/new
@@ -106,7 +106,7 @@ cat <<End-of-File >$id
 #
 # creator
 seq=\`basename \$0\`
-seqres=$RESULT_DIR/$seq
+seqres=\$RESULT_DIR/\$seq
 echo "QA output created by \$seq"
 
 here=\`pwd\`