aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-01-16 11:25:10 -0400
committerDavid Bremner <david@tethera.net>2022-07-05 08:09:57 -0300
commit15b940d26aacadecf50469d3837ccb660fd5ba42 (patch)
tree782f0e8ab8abe4b99ca90710810771818b3e44e4 /test
parentdb44af75ad5a79b3fd5ecad93fe95195ef175ebd (diff)
test: known broken test for top level .notmuch in split configs
In split configurations there is no special significance to a top level directory called .notmuch in the mail root. Users should therefore be able to have mail stored underneath it.
Diffstat (limited to 'test')
-rwxr-xr-xtest/T055-path-config.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh
index 4897c814..63dd90fd 100755
--- a/test/T055-path-config.sh
+++ b/test/T055-path-config.sh
@@ -338,6 +338,17 @@ to=m.header('To')
print(to)
EOF
test_expect_equal_file EXPECTED OUTPUT
+
+ test_begin_subtest ".notmuch not ignored in split config ($config)"
+ test_subtest_known_broken
+ generate_message '[dir]=.notmuch/cur' '[subject]="Do not ignore, very important"'
+ NOTMUCH_NEW > OUTPUT
+ notmuch search subject:Do-not-ignore | notmuch_search_sanitize >> OUTPUT
+ cat <<EOF > EXPECTED
+Added 1 new message to the database.
+thread:XXX 2001-01-05 [1/1] Notmuch Test Suite; Do not ignore, very important (inbox unread)
+EOF
+ test_expect_equal_file EXPECTED OUTPUT
;;
*)
backup_database