[PATCH] xfstests: set correct seqres variable in new when creating test template
Eryu Guan
eguan at redhat.com
Mon Apr 1 05:58:15 CDT 2013
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 at redhat.com>
---
new | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/new b/new
index d9c38c8..2bc1e8f 100755
--- 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\`
--
1.8.1.4
More information about the xfs
mailing list