Skip to contentSkip to conversation

xfstests: set correct seqres variable in new when creating test template

PATCH In review Eryu Guan 2 participants 3 messages Apr 1, 2013

lore
Share & tools
lore

Eryu Guan

author
#0 lore raw

PATCH 1/1 xfstests: set correct seqres variable in new when creating test template

When setting seqres in the new script, '$' should be escaped, otherwise seqres will be set to '/' not '$RESULT_DIR/$seq'

---
 new | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
new +1 -1
index d9c38c8..2bc1e8f 100755
@@ -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\`
Signature · 6 lines
1.8.1.4

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs
#2 lore raw
In reply to Eryu Guan

Eryu,

Thanks for submitting this patch, it has been committed.

--Rich

commit d1ec02af9e0516652ce92584dc4f92704579af18

Author: Eryu Guan <[email protected]>
Date:   Mon Apr 1 10:58:15 2013 +0000

xfstests: set correct seqres variable in new when creating test
template

When setting seqres in the new script, '$' should be escaped, otherwise seqres will be set to '/' not '$RESULT_DIR/$seq'

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs