projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Default to fcntl locking for AIX, Cygwin, and Linux. Without it
[mmh]
/
test
/
format
/
test-mymbox
diff --git
a/test/format/test-mymbox
b/test/format/test-mymbox
index
5a39d59
..
39ab4c1
100755
(executable)
--- a/
test/format/test-mymbox
+++ b/
test/format/test-mymbox
@@
-25,6
+25,10
@@
run_test "${MH_LIB_DIR}/ap -format %(mymbox{text}) nosuchuser@nosuchhost.blah" \
myname="Random User <random@user.something.com>"
myname="Random User <random@user.something.com>"
+#### Remove existing Local-Mailbox: profile component, if any. Then
+#### add one.
+grep -v 'Local-Mailbox: ' ${MH} > ${MH}.new
+mv -f ${MH}.new ${MH}
echo "Local-Mailbox: ${myname}" >> ${MH}
run_test "echo `${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \
echo "Local-Mailbox: ${myname}" >> ${MH}
run_test "echo `${MH_LIB_DIR}/ap -format '%(mymbox{text})' "${myname}"`" \