Add MH testsuite.
* configure.ac (mh/tests): New testdir * mh/Makefile.am (SUBDIRS): Add tests * tests/Makefile.am: New file. * mh/tests/Makefile.am: New file. * mh/tests/atlocal.in: New file. * mh/tests/folder.at: New file. * mh/tests/inc.at: New file. * mh/tests/mark.at: New file. * mh/tests/mhparam.at: New file. * mh/tests/mhpath.at: New file. * mh/tests/refile.at: New file. * mh/tests/rmf.at: New file. * mh/tests/rmm.at: New file. * mh/tests/scan.at: New file. * mh/tests/testsuite.at: New file. * mh/tests/.gitignore: New file. * testsuite/testsuite.inc (MUT_MBCOPY): Work correctly if DST is a directory name (for MH and maildir formats). * mh/folder.c (action_list): Treat empty value as equal to no value. * mh/install-mh.c (main): Honor MH environment variable. * mh/mh_ctx.c (mh_context_read, mh_context_write): Use MU streams instead of stdio FILE. (mh_context_iterate): Add error checking. Do not coredump on NULL header. * mh/mh_global.c (_mh_init_global_sequences): Destroy sequences. * mh/TODO: Update. * libmailutils/stream/message_stream.c (copy_trimmed_value): New static function. (scan_stream): Strip final newline from the saved envelope values. * mu/Makefile.am (BUILD_SOURCES, EXTRA_DIST): Add mu-setup.c and mu-setup.h.
Showing
23 changed files
with
999 additions
and
65 deletions
mh/tests/.gitignore
0 → 100644
mh/tests/Makefile.am
0 → 100644
mh/tests/atlocal.in
0 → 100644
mh/tests/folder.at
0 → 100644
mh/tests/inc.at
0 → 100644
mh/tests/mark.at
0 → 100644
mh/tests/mhparam.at
0 → 100644
mh/tests/mhpath.at
0 → 100644
mh/tests/refile.at
0 → 100644
mh/tests/rmf.at
0 → 100644
mh/tests/rmm.at
0 → 100644
mh/tests/scan.at
0 → 100644
mh/tests/testsuite.at
0 → 100644
-
Please register or sign in to post a comment