unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob a6a99239227eac601e3ae3284ea120d03af6b43c 454 bytes (raw)
name: test/T720-database-schema.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
 
#!/usr/bin/env bash
test_description="database schema in lib/database.cc"

. $(dirname "$0")/test-lib.sh || exit 1

add_email_corpus threading

test_begin_subtest "every document has at most one thread term"
test_subtest_known_broken
${TEST_DIRECTORY}/term-report ${MAIL_DIR}/.notmuch/xapian | perl -ane 'pop(@F); printf "%d\n",scalar(grep { m/^G/ } @F);' | sort -u > OUTPUT
cat <<EOF >> EXPECTED
0
1
EOF
test_expect_equal_file EXPECTED OUTPUT
test_done

debug log:

solving a6a99239 ...
found a6a99239 in https://yhetil.org/notmuch/20180730224555.26047-16-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/20180730224555.26047-16-david@tethera.net/
diff --git a/test/T720-database-schema.sh b/test/T720-database-schema.sh
new file mode 100755
index 00000000..a6a99239

Checking patch test/T720-database-schema.sh...
Applied patch test/T720-database-schema.sh cleanly.

index at:
100755 a6a99239227eac601e3ae3284ea120d03af6b43c	test/T720-database-schema.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).