From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wFAFA0WtA2KFMQEAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 13:02:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OOBkAEWtA2IjWgAA9RJhRA (envelope-from ) for ; Wed, 09 Feb 2022 13:02:13 +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 C8A9FFEF9 for ; Wed, 9 Feb 2022 13:02:12 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 41F195F718; Wed, 9 Feb 2022 12:02:06 +0000 (UTC) Received: from mailproxy07.manitu.net (mailproxy07.manitu.net [IPv6:2a00:1828:1000:1112::2]) by mail.notmuchmail.org (Postfix) with ESMTPS id 8DB025F713 for ; Wed, 9 Feb 2022 12:02:03 +0000 (UTC) Received: from localhost (200116b8604631004d94416580d017f7.dip.versatel-1u1.de [IPv6:2001:16b8:6046:3100:4d94:4165:80d0:17f7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: michael@grubix.eu) by mailproxy07.manitu.net (Postfix) with ESMTPSA id 9BD70C83D0; Wed, 9 Feb 2022 12:52:38 +0100 (CET) From: Michael J Gruber To: notmuch@notmuchmail.org Subject: [PATCH 1/4] test: correct comparison order in T380 Date: Wed, 9 Feb 2022 12:52:33 +0100 Message-Id: <51ecae6ac67b360410790ce7ad208162ecc7d517.1644406756.git.git@grubix.eu> X-Mailer: git-send-email 2.35.1.306.ga00bde9711 In-Reply-To: References: MIME-Version: 1.0 Message-ID-Hash: 6D7TUPCOFQ7ALBY3YG3ENTIU7F6GNL6K X-Message-ID-Hash: 6D7TUPCOFQ7ALBY3YG3ENTIU7F6GNL6K X-MailFrom: git@grubix.eu 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644408132; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to: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=FUT+zkBqYceNnawBeMlFtnS3OupmZ6Zmb8DmTx89oYg=; b=oGgl0EsJv46PPIT+YaXyjT8hcrDGjqTy0fD6+TEYDodK/9r6uUCg/9dPo8iKD6WF9cEZH8 iO7zsvXCI4bepGT8g3m02obIwG2yK6bSMveQ/+RAb/1JjBwNsx2TCLqqQVnduNcQzScsnJ lbDxwDeKMnkdQ1+wTycx+xg0Wp7rT89E4e1Db0sRIdedY+7smKB48QCXw7eG8ZeJcR5kvJ n/894hSW13pQP8M1ZKV4styGXlt74vjEK0kbw01wV1GjJiopgV98RGcpmwTIimFVkiEFfX HdMVcDRR+pA5/mvYLeFm98OtEA8ludSqVAnWUrm8tZQY2YIMBLxZnuyneXV80Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644408132; a=rsa-sha256; cv=none; b=LIRTBTloxHYGzQ8qteat6YVgaAXvBx7/jGa7JqrDAKYdTl4+V6704pKO1TOk6NrGxb1/gf 269dHeNpsQzV4c4PhUubjUdJOwY8ZmGuPewh4gXPIj7xARF/6zqXfqLx4S2Ce5/5qCq258 CgKK3jJJWbSlSYyKR4Xrj07yby5QX7xbf8u2pT4n7EP/3WtDQeTKOwnBnBAA4LYyAOlL3I vwoZQ57vXQyxpFakf2EMHg6nlCT1R7HKl9GdWH62utIQp8XmG4ujDVM9VCvcx0LKUpxFdw 0fRmBIpKZaN+srlQeSrNhQK33eHBIHdU6LzS2fa5Nf88Bfjs4tLTHYHZfuEZxA== 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: -2.33 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: C8A9FFEF9 X-Spam-Score: -2.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: awz66Jez7aVr Specifying test comparisons as "expected actual" gives a better readable diff since the "-" indicates missing, "+" additional items compared to the expectations. Signed-off-by: Michael J Gruber --- test/T380-atomicity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T380-atomicity.sh b/test/T380-atomicity.sh index afe49d93..a6f1e037 100755 --- a/test/T380-atomicity.sh +++ b/test/T380-atomicity.sh @@ -93,7 +93,7 @@ if test_require_external_prereq gdb; then fi test_begin_subtest '"notmuch new" is idempotent under arbitrary aborts' -test_expect_equal_file searchall expectall +test_expect_equal_file expectall searchall test_begin_subtest "detected $outcount>10 abort points" test_expect_success "test $outcount -gt 10" -- 2.35.1.306.ga00bde9711