unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob cb678ae83856bacab1c447350952332574a250cb 560 bytes (raw)
name: test/T205-author-naming.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
 
#!/usr/bin/env bash
test_description="naming of authors with unusual addresses"
. ./test-lib.sh

test_begin_subtest "Add author with empty quoted real name"
add_message '[subject]="author-naming: Initial thread subject"' \
	    '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \
	    '[from]="\"\" <address@example.com>"'
output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)
test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"

test_done

debug log:

solving cb678ae ...
found cb678ae in https://yhetil.org/notmuch.git/

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