update unseen sequence after display before this patch, if messages are displaied with a pager and during that time a new message comes to the folder. The new message is added to the unseen sequence. But after closing the pager the unseen sequence gets overwritten and the new message is removed from the unseen sequence. Now the sequence file gets reread before remove the shown messages from the unseen sequenece.
Fix test/tests/send/test-mimeify The size differences came from generated values of the Content-ID headers. They depend on the hostname and thus vary in length. leading to different MIME part sizes. The solution is replacing all Content-IDs with static values. The helper function replace_contentid() is added to commons.sh.
Fix tests to run on OpenBSD Use a hardcoded sequence for there's no seq(1) in OpenBSD. awk(1) doesn't support interval regular expression syntax ({n,m}) on some BSDs. hostname(1) has no -f flag on OpenBSD and. Try it first and fallback to `uname -n`. Omit explicit template in mktemp(1) call.
Fix spelling errors, including binaries ones Signed-off-by: Dmitry Bogatov <KAction@gnu.org>
Rework in the test framework; updated and new tests Many tests were ported from nmh. Two tests fail at the moment: - tests/ali/test-ali: needs porting the bugfix from nmh - tests/prompter/test-prompter: needs further investigation
tests: Supress progress meter if non-interactive.
Fixed the test framework by adjusting it to mmh. In the same go: Cleaned up its code a bit and added a summary to test/runalltests. Adjusting the individual tests to mmh still needs to be done. ... and afterwards we can ;dd a lot more of them. :-) (But before we write our own tests, we first incorporate all the ones they've added to nmh in the meanwhile. ;-) )
* sbr/m_getfld.c: fix two bugs which could cause us to walk off the beginning of the stdio or prefix-string buffer when checking for presence of the end-of-message delimiter in some situations. This might cause inc to dump core if you were unlucky. (This was Debian bug 359167.) * test/tests/inc/{md5sums,msgheader.txt,test-deb359167, test-eom-align,fromline.txt,filler.txt,deb359167.mbox}: new tests both for the specific problem and to try to check various alignments of the eom string with the stdio buffer ending. * test/common.sh: Added some functions for doing progress indicators.
test/common.sh: new file for common utility functions for the test scripts. Moved findprog out of manpage test script into this new file.