summaryrefslogtreecommitdiff
path: root/mail/tests/atlocal.in
AgeCommit message (Collapse)AuthorFiles
2024-01-06Update copyright yearsSergey Poznyakoff1
2023-01-22Update copyright yearsSergey Poznyakoff1
2022-01-02Update copyright yearSergey Poznyakoff1
2021-06-09Add tests for mail send/reply/followup commandsSergey Poznyakoff1
* mail/mail.c (main): Fix exit status in send mode. * mail/tests/Makefile.am: Add new tests. * mail/tests/testsuite.at: Likewise. * mail/tests/atlocal.in (MAILER): New variable. * mail/tests/Followup.at: New file. * mail/tests/Reply.at: New file. * mail/tests/followup.at: New file. * mail/tests/reply.at: New file. * mail/tests/send.at: New file. * mail/tests/sendbyname.at: New file. * mail/tests/sendrec.at: New file.
2021-01-05Update copyright yearsSergey Poznyakoff1
2020-02-08Update copyright yearsSergey Poznyakoff1
2019-11-30Fix the cwdrepl auxiliary tool.Sergey Poznyakoff1
Make sure the longest possible match is replaced. * testsuite/cwdrepl.c: Sort the translist by directory length, in descending order. * mail/tests/atlocal.in: Add $testsuitedir to $PATH * mail/tests/hold.at (MAIL_TEST): Use cwdrepl instead of sed rules. Correct expected outputs accordingly.
2019-09-10Fix the semantics of the hold and keepsave variables in mailSergey Poznyakoff1
* mail/delete.c (mail_delete_msg): Set MAIL_ATTRIBUTE_PRESERVED. This is not necessary, stricto sensu, because mail_mbox_close skips messages marked for deletion anyway. But it's good for clarity. * mail/quit.c (mailbox_classify): New function. (mail_mbox_commit): Rewrite * mail/tests/Makefile.am: Add new test * mail/tests/testsuite.at: Include new tests. * mail/tests/atlocal.in (catmbox): New function. * mail/tests/hold.at: New test.
2019-01-03Update copyright yearsSergey Poznyakoff1
2018-01-19Version 3.4.90; update copyright yearsSergey Poznyakoff1
2017-01-01Happy GNU YearSergey Poznyakoff1
2016-11-24sieve: provide a separate stream for debugging outputSergey Poznyakoff1
* include/mailutils/sieve.h (MU_SIEVE_DEBUG_TRACE) (MU_SIEVE_DEBUG_INSTR,MU_SIEVE_DEBUG_DISAS) (MU_SIEVE_DRY_RUN): Remove. (mu_sieve_machine_init_ex): Remove proto. (mu_sieve_set_dbg_stream,mu_sieve_get_dbg_stream) (mu_sieve_stream_save) (mu_sieve_stream_restore): New protos. * libmu_sieve/runtime.c (INSTR_DISASS,INSTR_DEBUG): Reimplement. * libmu_sieve/sieve-priv.h (MU_SV_SAVED_ERR_STATE) (MU_SV_SAVED_DBG_STATE,MU_SV_SAVED_STATE): New bitflags. (mu_sieve_state_disass): New constant. (mu_sieve_machine)<state_flags, err_mode> <err_locus,dbg_mode,dbg_locus>: New members. <dbgstream>: New member. * libmu_sieve/sieve.y (mu_sieve_machine_init_ex): Remove. (mu_sieve_machine_dup, mu_sieve_machine_inherit): Fix. (mu_sieve_set_dbg_stream) (mu_sieve_get_dbg_stream): New functions. (mu_sieve_machine_destroy): Destroy dbgstream. (with_machine): Preserve stream state (mode & locus). * libmu_sieve/util.c (mu_i_sv_debug,mu_i_sv_debug_command): Use ioctl instead of format strings. (mu_sieve_stream_save, mu_sieve_stream_restore): New functions. * python/libmu_py/sieve.c (api_sieve_machine_init): Use mu_sieve_machine_init. * sieve/sieve.c: Improve help output. (main): Dump disassembled code to standard output.
2016-01-22Update copyright yearsSergey Poznyakoff1
2015-05-05mail: add tests in a non-interactive modeSergey Poznyakoff1
* configure.ac: Configure mail/tests subdirectory. * mail/Makefile.am (SUBDIRS): Add tests. * mail/tests/testsuite.at: New file. * mail/tests/Makefile.am: New file. * mail/tests/.gitignore: New file. * mail/tests/atlocal.in: New file. * mail/tests/cols00.at: New file. * mail/tests/cols01.at: New file. * mail/tests/copy00.at: New file. * mail/tests/nohome.at: New file. * mail/tests/version.at: New file.

Return to:

Send suggestions and report system problems to the System administrator.