* [PATCH] test/tag: add test for updating during batch tag operations
@ 2018-07-09 10:30 David Bremner
2018-08-29 9:42 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 2018-07-09 10:30 UTC (permalink / raw)
To: notmuch
This clarifies that the breakage seen with Xapian 1.4.6 does not have
to do with "funny" tags.
This test is "known broken", but only with xapian 1.4.6, and there's
curently no convenient way to mark that.
---
test/T150-tagging.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/test/T150-tagging.sh b/test/T150-tagging.sh
index 6140c676..208b4b98 100755
--- a/test/T150-tagging.sh
+++ b/test/T150-tagging.sh
@@ -130,6 +130,19 @@ EOF
test_expect_equal_file batch_removeall.expected OUTPUT
rm batch_removeall.expected
+test_begin_subtest "--batch, dependence on previous line"
+notmuch dump --format=batch-tag > backup.tags
+notmuch tag --batch<<EOF
++trigger -- One
++second_tag -- tag:trigger
+EOF
+NOTMUCH_DUMP_TAGS tag:second_tag > OUTPUT
+notmuch restore --format=batch-tag < backup.tags
+cat <<EOF >EXPECTED
++inbox +second_tag +tag5 +trigger +unread -- id:msg-001@notmuch-test-suite
+EOF
+test_expect_equal_file EXPECTED OUTPUT
+
test_begin_subtest "--batch, blank lines and comments"
notmuch dump | sort > EXPECTED
notmuch tag --batch <<EOF
--
2.18.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] test/tag: add test for updating during batch tag operations
2018-07-09 10:30 [PATCH] test/tag: add test for updating during batch tag operations David Bremner
@ 2018-08-29 9:42 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2018-08-29 9:42 UTC (permalink / raw)
To: notmuch
David Bremner <david@tethera.net> writes:
> This clarifies that the breakage seen with Xapian 1.4.6 does not have
> to do with "funny" tags.
>
> This test is "known broken", but only with xapian 1.4.6, and there's
> curently no convenient way to mark that.
pushed to master
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-29 9:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-09 10:30 [PATCH] test/tag: add test for updating during batch tag operations David Bremner
2018-08-29 9:42 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).