aboutsummaryrefslogtreecommitdiff
path: root/test/T050-new.sh
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2021-03-23 21:24:05 -0300
committerDavid Bremner <david@tethera.net>2021-06-05 15:31:03 -0300
commit2c85cc29bd8c29792acacc65cf9c5810d7f4791e (patch)
tree4433d81b8297e27e3672b4655fb1155410d22aa6 /test/T050-new.sh
parent03366a3c5aa313de41bddd61dedc5b5c002e0469 (diff)
test: add known broken test for indexing RFC822 group names
Austin Clements diagnosed this indexing problem in [1]. [1]: id:20130711215207.GR2214@mit.edu
Diffstat (limited to 'test/T050-new.sh')
-rwxr-xr-xtest/T050-new.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/T050-new.sh b/test/T050-new.sh
index 4beae379..1141c1e3 100755
--- a/test/T050-new.sh
+++ b/test/T050-new.sh
@@ -339,6 +339,13 @@ test_expect_code 1 "NOTMUCH_NEW --debug 2>&1"
notmuch config set new.tags $OLDCONFIG
+test_begin_subtest "RFC822 group names are indexed"
+test_subtest_known_broken
+generate_message [to]="undisclosed-recipients:"
+NOTMUCH_NEW > OUTPUT
+output=$(notmuch search --output=messages to:undisclosed-recipients)
+test_expect_equal "${output}" "${gen_msg_id}"
+
test_begin_subtest "Long directory names don't cause rescan"
test_subtest_known_broken
printf -v name 'z%.0s' {1..234}