summaryrefslogtreecommitdiff
path: root/comsat
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2020-11-16 14:04:13 +0200
committerSergey Poznyakoff <gray@gnu.org>2020-11-16 14:04:13 +0200
commit645bfb5b4da280808f537929064807ba5abd8626 (patch)
treeb6a2d39f498200612a07df91ede2c5a0d95d862a /comsat
parent500bab2e34400206f0e8982b11d6cc07fac52ffa (diff)
downloadmailutils-645bfb5b4da280808f537929064807ba5abd8626.tar.gz
mailutils-645bfb5b4da280808f537929064807ba5abd8626.tar.bz2
Fix message append notifications for maildir, mh, and dotmail.
* testsuite/mbop.c: Implement notification mode. * comsat/tests/testsuite.at: Fix mh qid. * libproto/dotmail/dotmail.c (dotmail_append_message): Lock the monitor before and unlock it after the operation. * libproto/dotmail/tests/notify.at: New file. * libproto/dotmail/tests/Makefile.am: Add notify.at * libproto/dotmail/tests/testsuite.at: Include notify.at. * include/mailutils/sys/amd.h (cur_msg_file_name): Change signature. * libmailutils/base/amd.c: Use amd->cur_msg_file_name with 0 as its second argument to get qid. * libproto/maildir/mbox.c (maildir_cur_message_name): Take three argument, second one specifying whether an absolute or relative filename is requested. All uses changed. * libproto/maildir/tests/notify.at: New file. * libproto/maildir/tests/Makefile.am: Add notify.at * libproto/maildir/tests/testsuite.at: Include notify.at * libproto/mh/mbox.c (_mh_cur_message_name): Take three argument, second one specifying whether an absolute or relative filename is requested. All uses changed. * libproto/mh/tests/notify.at: New file. * libproto/mh/tests/Makefile.am: Add notify.at * libproto/mh/tests/testsuite.at: Include notify.at
Diffstat (limited to 'comsat')
-rw-r--r--comsat/tests/testsuite.at2
1 files changed, 1 insertions, 1 deletions
diff --git a/comsat/tests/testsuite.at b/comsat/tests/testsuite.at
index 9cdce48f2..7fec9f626 100644
--- a/comsat/tests/testsuite.at
+++ b/comsat/tests/testsuite.at
@@ -103,7 +103,7 @@ BIFFTEST([MH qid],[comsatd03],
[
MUT_MBCOPY($abs_top_srcdir/testsuite/mh/teaparty, mailbox)
test "$MH_SUPPORT" = yes || AT_SKIP_TEST
-comsatcmd mh:$cwd/mailbox teaparty/58
+comsatcmd mh:$cwd/mailbox 58
sed '1s/^Mail to .*/Mail to test user/' output
],
[Mail to test user

Return to:

Send suggestions and report system problems to the System administrator.