From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +NJlKd8noWBiRgEAgWs5BA (envelope-from ) for ; Sun, 16 May 2021 16:10:39 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SAEFJd8noWB/OgAA1q6Kng (envelope-from ) for ; Sun, 16 May 2021 14:10:39 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4B08314CFD for ; Sun, 16 May 2021 16:10:39 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id D388B271EE; Sun, 16 May 2021 10:10:25 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id C5EC62717B for ; Sun, 16 May 2021 10:10:21 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id BE4EA60018; Sun, 16 May 2021 10:10:21 -0400 (EDT) Received: (nullmailer pid 3516749 invoked by uid 1000); Sun, 16 May 2021 14:10:19 -0000 From: David Bremner To: notmuch@notmuchmail.org Cc: David Bremner Subject: [PATCH 4/4] test: quiet some extra debugging output Date: Sun, 16 May 2021 11:10:15 -0300 Message-Id: <20210516141015.3516582-5-david@tethera.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210516141015.3516582-1-david@tethera.net> References: <20210516141015.3516582-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: UV2MQT3RDBBCER73SBGZ3UZGN2YZU2YJ X-Message-ID-Hash: UV2MQT3RDBBCER73SBGZ3UZGN2YZU2YJ X-MailFrom: bremner@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621174239; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=HgUpFj0RMb1q7lCP4XlKDMol38KPmYM9HXf6OSDUFEI=; b=qINoKWTvnRS1EU9g57aNbmvmAw2IIrNyudQkD1ZnO7ceKOR4cs6VCuya0rW/7jb7kL2xL4 hZKFjdpRbLEDdioscye5wRiUaQ6BFUvL4hA4dYV1pMThUj47baSBJi+C8VkR9F/AdTnwTP 0ZIwF1sAB+1IkPrwnuzqQT3lz1ybN1GZQIrQN1UauWDrhpDHxJWLkvgwjykatGkpUi4EHy 26tZWsgT4BLxV9hDI2OOkiPWafSQWpEsh4VJ4GfsMTnz39wNGWDmWOFfB3zLH8GifsgM1U E9gSMoKxKOpSBRfdUk1Uc8j289c2K7mMXTbDSXwwN2Os2+87AFfQPnw+oDDnhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621174239; a=rsa-sha256; cv=none; b=YrncRO9NhH1p9nRuPK/jzTQpu5DA8X4bFDPk6wNE7yrfABNRWYglUtpwqX5JfDU2xo6P6M jjuE3yDXh5Exztv2qaLO33zAsDboBCSk9Ecp/N9Ajd+47vw5YGQMxEDfxpjWzEtwe3muKK XvekxIV99tdXQufIxP0gIeqCPDKlSmvpLs4tbmLVkh1nVE6vMZA6tYPqww4kKiuMg4h5cU dS1YQ1W7qjmktHSgm2NshjaaLdLfy/BDFVfEcgsZRJFVIcOanlwbDxl8VhmfXV2kgk7MCt ovU3oX3i4FUm8YOUK481IVZ3jYXOmYc+nTkAPT94+CgVTnSLy6f9MQK4x6Bshg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 0.45 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 4B08314CFD X-Spam-Score: 0.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: wp3734XrFaA9 This output does not cause test failures, but may make it harder to interpret the output. --- test/T140-excludes.sh | 2 +- test/T380-atomicity.sh | 2 +- test/T700-reindex.sh | 4 ++-- test/T750-user-header.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/T140-excludes.sh b/test/T140-excludes.sh index acab5381..7b5bea2e 100755 --- a/test/T140-excludes.sh +++ b/test/T140-excludes.sh @@ -22,7 +22,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" -- 2.30.2