]> rtime.felk.cvut.cz Git - notmuch.git/blob - test/T205-author-naming.sh
18819ddbc0df0da13b2905d8dc1e826401be0dfc
[notmuch.git] / test / T205-author-naming.sh
1 #!/usr/bin/env bash
2 test_description="naming of authors with unusual addresses"
3 . ./test-lib.sh
4
5 test_begin_subtest "Add author with empty quoted real name"
6 test_subtest_known_broken
7 add_message '[subject]="author-naming: Initial thread subject"' \
8             '[date]="Fri, 05 Jan 2001 15:43:56 -0000"' \
9             '[from]="\"\" <address@example.com>"'
10 output=$(notmuch search --sort=oldest-first author-naming and tag:inbox | notmuch_search_sanitize)
11 test_expect_equal "$output" "thread:XXX   2001-01-05 [1/1] address@example.com; author-naming: Initial thread subject (inbox unread)"
12
13 test_done