From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sKndExEtAWOoCAAAbAwnHQ (envelope-from ) for ; Sat, 20 Aug 2022 20:50:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +KnbExEtAWON0wAAauVa8A (envelope-from ) for ; Sat, 20 Aug 2022 20:50:57 +0200 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 22B15EC2C for ; Sat, 20 Aug 2022 20:50:57 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 3A79C5FD42; Sat, 20 Aug 2022 18:50:50 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 618725F389 for ; Sat, 20 Aug 2022 18:50:47 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id BE5015FBC2; Sat, 20 Aug 2022 14:50:46 -0400 (EDT) Received: (nullmailer pid 289645 invoked by uid 1000); Sat, 20 Aug 2022 18:50:32 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH 1/3] test: rename indexing corpus Date: Sat, 20 Aug 2022 11:50:05 -0700 Message-Id: <20220820185007.289543-2-david@tethera.net> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220820185007.289543-1-david@tethera.net> References: <20220820185007.289543-1-david@tethera.net> MIME-Version: 1.0 Message-ID-Hash: I2GUYA76RSS4BWH6SPHUPYBOYJJB3UBS X-Message-ID-Hash: I2GUYA76RSS4BWH6SPHUPYBOYJJB3UBS 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: jwilk@jwilk.net 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-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1661021457; 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=ane99hmqrNnHd//22QlV6rLbNFBwD2yUasP2fqTxcTU=; b=lN86OVvJNhLpmILSANjKSG6lQ6hwg1kEEHGc8szh/EQafsIx8YdcyuGy3QuYbaDKiu9Z1m IQanMYGnwQnM2CKOv8vo+5sqdPDnK3cUN+u8SKSViH4vgrk/ibddr8WKVSaQAxr1PYTzrx PGHrFQ2ldlXUWKmqf4109NsT5LyRrZlOv8lIlHN3mc8OGFqz9iQLPG+gTRnazix8AToqp3 eyJzcWgLWhBVamUpZElj08zJHG42J6IcroJVf01B6+hDLtq7cr4iav9UmAkLEaPIJ51yWL xXfP1RwCKYmeEH/vOpkyqmqPTbZmLSaFxQ7BqlkBeTze7v6LsA31+73ppFPguw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1661021457; a=rsa-sha256; cv=none; b=F6L0FqEs64NzGLFqXcf6+P4YeVB3MbftlLKEpFUGjYJ3dyYDPyDCi0c5eC085OFZ9P+kcJ HPCe9vGTAyAMv2k8c606QKXP9WvKz9rFqJS5kwqvDxfTzQAnfLBDGBO/59qFTGpHKTlzRY GwfB0nprqQR1bN64NY7nEdP6FvJ3Yac0DKjZPYDdzoThA84u8tRqjifIWd1SQ5jR8MlJvs 7WrnYq/36B5r6VDPiPbFV+XQhpygHs+TWzREnikqszpNjcfSZm1kijC3dKwbLQ449rV4KM VUpY6WdPh29YV7rfTb2AkjX5J/t8yz86LubFHicVg41++IWqLZTiiW05F757ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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 X-Migadu-Spam-Score: -1.81 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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 X-Migadu-Queue-Id: 22B15EC2C X-Spam-Score: -1.81 X-Migadu-Scanner: scn0.migadu.com X-TUID: jqSV5IXyMWnR The corpus is not really suitable for general indexing test since the sole message is ignored (and will most likely continue to be ignored) by notmuch-new. --- test/T070-insert.sh | 2 +- test/corpora/{indexing => insert}/mbox-attachment.eml | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/corpora/{indexing => insert}/mbox-attachment.eml (100%) diff --git a/test/T070-insert.sh b/test/T070-insert.sh index 7d5f842d..73953272 100755 --- a/test/T070-insert.sh +++ b/test/T070-insert.sh @@ -293,7 +293,7 @@ for code in OUT_OF_MEMORY XAPIAN_EXCEPTION ; do done test_begin_subtest "insert converts mboxes on delivery" -notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/indexing/mbox-attachment.eml +notmuch insert +unmboxed < "${TEST_DIRECTORY}"/corpora/insert/mbox-attachment.eml output=$(notmuch count tag:unmboxed) test_expect_equal "${output}" 1 diff --git a/test/corpora/indexing/mbox-attachment.eml b/test/corpora/insert/mbox-attachment.eml similarity index 100% rename from test/corpora/indexing/mbox-attachment.eml rename to test/corpora/insert/mbox-attachment.eml -- 2.35.1