diff --git a/test/T140-excludes.sh b/test/T140-excludes.sh index 352b3eb8..e9cc9cb0 100755 --- a/test/T140-excludes.sh +++ b/test/T140-excludes.sh @@ -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) } ############################################# diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh index 45de2228..afe49d93 100755 --- a/test/T380-atomicity.sh +++ b/test/T380-atomicity.sh @@ -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) diff --git a/test/T700-reindex.sh b/test/T700-reindex.sh index f51130e8..52bba4d3 100755 --- a/test/T700-reindex.sh +++ b/test/T700-reindex.sh @@ -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' diff --git a/test/T750-user-header.sh b/test/T750-user-header.sh index 05f80885..03c43656 100755 --- a/test/T750-user-header.sh +++ b/test/T750-user-header.sh @@ -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"