From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GAZRDsrQbGV6MwEA9RJhRA:P1 (envelope-from ) for ; Sun, 03 Dec 2023 20:02:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GAZRDsrQbGV6MwEA9RJhRA (envelope-from ) for ; Sun, 03 Dec 2023 20:02:34 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 0726E247F9 for ; Sun, 3 Dec 2023 20:02:34 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701630154; 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-owner:list-unsubscribe:list-subscribe:list-post; bh=vcgvO9nVPuppa93AwoM9ADxzHsae3pZ/oVysHuZBpy8=; b=c4v2Wq6KMeYkNjwACuhdvxlPe/vVMunPH89v+q3YbWKbNV65zF33G9TbbPZ9AM9BLXapOv AA1/m+Sb9IjZGoyfkQLfYyi25pu8cX4rHGmcmvoqrJi1wdUWA2+fDsCkb7xA821Wyj76To lEVVqxtz89FEFEbprXYQdlwG4+qlRG+E9nDowKZQrWkZkG85q1ij81ZPcOCp5SmG9xG7mp x8GDEp9DpUQ5AZE5/kMida1MdVaxtI2mmtX5G654mmcsJ4mTMk92jFulMkK+mCr9xFotr4 dAq2kZjmzeg48qGu75dzyzjlZInkxQOLv3l0+RfVgwcYqwZlPZLJNdKN/61auw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701630154; a=rsa-sha256; cv=none; b=HpgHnPELmm3MCvelbKWC2AE8+2a3JOvXko+jn+e99cBrPWJSKBshB4/TSfykah4CdOLVNY iddIYw9ooXF/6ZkB+CUf/GSk0YFZmFm+CoCW9FV7ljw8MU+8pajo9tAUZEhs/vl6+FE/M2 H1g8qx4jsNGK/UPGi/LOMOCgr9VCPMu0iyNExGLSxMwIiZgJfCP3CT7xNe9eJJoBWA2CQN GybTWFpzwGgqEVBauBt4z23SE2xemLOzAawRVHwc9zkRNiusbb3gePyIH77nzyW7QMNx9W AEzcN6+ZKgZABDJgc/h/gZRclFaJ9zDXktAuWIXJfXbBJT9VqYJCTD49WSXBoA== Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C05D46093B; Sun, 3 Dec 2023 19:02:24 +0000 (UTC) Received: from phubs.tethera.net (phubs.tethera.net [IPv6:2607:5300:60:3a9d::1]) by mail.notmuchmail.org (Postfix) with ESMTPS id D71BE5E512 for ; Sun, 3 Dec 2023 19:02:21 +0000 (UTC) Received: from tethera.net (fctnnbsc51w-159-2-185-147.dhcp-dynamic.fibreop.nb.bellaliant.net [159.2.185.147]) by phubs.tethera.net (Postfix) with ESMTPS id 0C15D18006C; Sun, 3 Dec 2023 15:02:19 -0400 (AST) Received: (nullmailer pid 481422 invoked by uid 1000); Sun, 03 Dec 2023 19:02:17 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 1/2] test: add known broken test for incorrect error message Date: Sun, 3 Dec 2023 15:01:05 -0400 Message-ID: <20231203190208.481380-2-david@tethera.net> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231203190208.481380-1-david@tethera.net> References: <20231203190208.481380-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: SMA3HKSWSYZEXXVJG4TMMX5L5CDSIKLN X-Message-ID-Hash: SMA3HKSWSYZEXXVJG4TMMX5L5CDSIKLN 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; digests; suspicious-header CC: hi@alyssa.is X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE X-Migadu-Queue-Id: 0726E247F9 X-Spam-Score: -2.54 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -2.54 X-TUID: a8+HoeZrf7m2 Duplicate bug reported in id:87wmtvcor5.fsf@alyssa.is The error message is nonsense, because notmuch config list actually includes the database in those two cases. --- test/T055-path-config.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/T055-path-config.sh b/test/T055-path-config.sh index efc79e8b..fcaf09d3 100755 --- a/test/T055-path-config.sh +++ b/test/T055-path-config.sh @@ -374,6 +374,12 @@ EOF notmuch new test_expect_equal "$(xapian-metadata get ${XAPIAN_PATH} version)" 3 ;; + home_mail|maildir_env) + test_begin_subtest "No errors from config list ($config)" + test_subtest_known_broken + notmuch config list 2>OUTPUT 1>/dev/null + test_expect_equal_file /dev/null OUTPUT + ;; *) backup_database test_begin_subtest ".notmuch without xapian/ handled gracefully ($config)" -- 2.42.0