mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
test: Don't print a test result for preliminary test setup
This test script does some initial test setup (generating a few messages), which is all well and good, but we don't need to print that as a test result---particularly since the test result was effectively hard-coded to always pass.
This commit is contained in:
parent
24d42f0507
commit
2742663072
1 changed files with 1 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
test_description="naming of threads with changing subject"
|
test_description="naming of threads with changing subject"
|
||||||
. ./test-lib.sh
|
. ./test-lib.sh
|
||||||
|
|
||||||
test_begin_subtest 'Generate some messages'
|
test_begin_subtest "Initial thread name (oldest-first search)"
|
||||||
add_message '[subject]="thread-naming: Initial thread subject"' \
|
add_message '[subject]="thread-naming: Initial thread subject"' \
|
||||||
'[date]="Fri, 05 Jan 2001 15:43:56 -0000"'
|
'[date]="Fri, 05 Jan 2001 15:43:56 -0000"'
|
||||||
first=${gen_msg_cnt}
|
first=${gen_msg_cnt}
|
||||||
|
@ -17,9 +17,6 @@ add_message '[subject]="thread-naming: Final thread subject"' \
|
||||||
'[date]="Mon, 08 Jan 2001 15:43:56 -0000"' \
|
'[date]="Mon, 08 Jan 2001 15:43:56 -0000"' \
|
||||||
"[in-reply-to]=\<$parent\>"
|
"[in-reply-to]=\<$parent\>"
|
||||||
final=${gen_msg_id}
|
final=${gen_msg_id}
|
||||||
test_expect_equal '' ''
|
|
||||||
|
|
||||||
test_begin_subtest "Initial thread name (oldest-first search)"
|
|
||||||
output=$(notmuch search --sort=oldest-first thread-naming and tag:inbox | notmuch_search_sanitize)
|
output=$(notmuch search --sort=oldest-first thread-naming and tag:inbox | notmuch_search_sanitize)
|
||||||
test_expect_equal "$output" "thread:XXX 2001-01-05 [4/4] Notmuch Test Suite; thread-naming: Initial thread subject (inbox unread)"
|
test_expect_equal "$output" "thread:XXX 2001-01-05 [4/4] Notmuch Test Suite; thread-naming: Initial thread subject (inbox unread)"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue