projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ensure that escape_display_name() can't overrun a buffer.
[mmh]
/
test
/
post
/
test-post-fcc
diff --git
a/test/post/test-post-fcc
b/test/post/test-post-fcc
index
b8a9419
..
5ade972
100755
(executable)
--- a/
test/post/test-post-fcc
+++ b/
test/post/test-post-fcc
@@
-54,8
+54,10
@@
EOF
msgname=$(mhpath +inbox 11)
msgname=$(mhpath +inbox 11)
-sed -i "" -e 's/^Date:.*/Date:/' ${msgname}
+sed -i.bak -e 's/^Date:.*/Date:/' "${msgname}"
-check "${testname}.msg.expected" ${msgname}
+rm -f "${msgname}.bak"
+
+check "${testname}.msg.expected" "${msgname}"
exit ${failed:-0}
exit ${failed:-0}