unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 057f961a12c033e8f96f377c5c87bf02c2fbf00f 594 bytes (raw)
name: test/T265-thread-fusing.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
 
#!/usr/bin/env bash
test_description="thread fusing"
. $(dirname "$0")/test-lib.sh || exit 1

add_email_corpus threading

test_begin_subtest "all messages are indexed"
notmuch search --output=messages folder:thread-fusing | sort > OUTPUT
cat <<EOF > EXPECTED
id:5422.1299798393@alphaville.usa.hp.com
id:8162.1298993875@alphaville.dokosmarshall.org
id:87wrkidfrh.fsf@pinto.chemeng.ucl.ac.uk
EOF
test_expect_equal_file EXPECTED OUTPUT

test_begin_subtest "Two threads are detected"
test_subtest_known_broken
output=$(notmuch search to:org-mode | wc -l)
test_expect_equal "${output}" 2

test_done

debug log:

solving 057f961a ...
found 057f961a in https://yhetil.org/notmuch/20211226161716.2079457-1-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/20211226161716.2079457-1-david@tethera.net/
diff --git a/test/T265-thread-fusing.sh b/test/T265-thread-fusing.sh
new file mode 100755
index 00000000..057f961a

Checking patch test/T265-thread-fusing.sh...
Applied patch test/T265-thread-fusing.sh cleanly.

index at:
100755 057f961a12c033e8f96f377c5c87bf02c2fbf00f	test/T265-thread-fusing.sh

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

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).