mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 10:28:09 +01:00
test: quiet some extra debugging output
This output does not cause test failures, but may make it harder to interpret the output.
This commit is contained in:
parent
119a41b9ed
commit
69c2c930ec
4 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@ generate_thread () {
|
|||
done
|
||||
notmuch new > /dev/null
|
||||
# We cannot retrieve the thread_id until after we have run notmuch new.
|
||||
gen_thread_id=`notmuch search --output=threads id:${gen_thread_msg_id[0]}`
|
||||
gen_thread_id=$(notmuch search --output=threads id:${gen_thread_msg_id[0]} 2>/dev/null)
|
||||
}
|
||||
|
||||
#############################################
|
||||
|
|
|
@ -67,7 +67,7 @@ if test_require_external_prereq gdb; then
|
|||
${TEST_GDB} -tty /dev/null -batch -x $NOTMUCH_SRCDIR/test/atomicity.py notmuch 1>gdb.out 2>&1
|
||||
|
||||
# Get the final, golden output
|
||||
notmuch search '*' > expected
|
||||
notmuch search '*' 2>/dev/null > expected
|
||||
|
||||
# Check output against golden output
|
||||
outcount=$(cat outcount)
|
||||
|
|
|
@ -6,8 +6,8 @@ add_email_corpus
|
|||
|
||||
notmuch tag +usertag1 '*'
|
||||
|
||||
notmuch search '*' | notmuch_search_sanitize > initial-threads
|
||||
notmuch search --output=messages '*' > initial-message-ids
|
||||
notmuch search '*' 2>1 | notmuch_search_sanitize > initial-threads
|
||||
notmuch search --output=messages '*' 2>/dev/null > initial-message-ids
|
||||
notmuch dump > initial-dump
|
||||
|
||||
test_begin_subtest 'reindex preserves threads'
|
||||
|
|
|
@ -4,8 +4,8 @@ test_description='indexing user specified headers'
|
|||
|
||||
add_email_corpus
|
||||
|
||||
notmuch search '*' | notmuch_search_sanitize > initial-threads
|
||||
notmuch search --output=messages '*' > initial-message-ids
|
||||
notmuch search '*' 2>1 | notmuch_search_sanitize > initial-threads
|
||||
notmuch search --output=messages '*' 2>/dev/null > initial-message-ids
|
||||
notmuch dump > initial-dump
|
||||
|
||||
test_begin_subtest "adding illegal prefix name, bad utf8"
|
||||
|
|
Loading…
Reference in a new issue