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 ms0.migadu.com with LMTPS id UIY7JWc8BGLzdgEAgWs5BA (envelope-from ) for ; Wed, 09 Feb 2022 23:12:55 +0100 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 qDXiIWc8BGJxIAEAauVa8A (envelope-from ) for ; Wed, 09 Feb 2022 23:12:55 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 DA78C3A984 for ; Wed, 9 Feb 2022 23:12:54 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 707425F713; Wed, 9 Feb 2022 22:12:52 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 3DB8B5F711 for ; Wed, 9 Feb 2022 22:12:49 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id 49DF95FBD2; Wed, 9 Feb 2022 17:12:47 -0500 (EST) Received: (nullmailer pid 702695 invoked by uid 1000); Wed, 09 Feb 2022 22:12:24 -0000 From: David Bremner To: Michael J Gruber , notmuch@notmuchmail.org Subject: Re: [PATCH 2/4] test: due not pass T380.1 for the wrong reasons In-Reply-To: <8d483901f3cf9bee86d7359ff1d665943adcd31b.1644406756.git.git@grubix.eu> References: <8d483901f3cf9bee86d7359ff1d665943adcd31b.1644406756.git.git@grubix.eu> Date: Wed, 09 Feb 2022 18:12:24 -0400 Message-ID: <87pmnvzo3b.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: K5ZWDAXLLR4IIVOTF7SNM3NOSJVXB2UQ X-Message-ID-Hash: K5ZWDAXLLR4IIVOTF7SNM3NOSJVXB2UQ X-MailFrom: david@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 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=1644444774; 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=T8useOrzqkheEiN2fr0HkqDaHsTlnLMJtpyPBZ3FEG8=; b=VHHK6Y5+SItESUwQjIVEgyL2WcLJPmreh+C0c0v3nPXQTo9rlQt/Ri9HP/jCLxZJHbnBb0 JGznz1Ide9aTQX0slq/9YWxiKPi5w0VGuzruskgDK0GfKM+tI10JcpPp8z4RqapiuFUPp9 w54f8tjwC+P/rAYVBkxcaCHPjrA9E9enxMXHlFm/dVc0/OZrLbh7/WIlZ8ceeqczFQGE2q AWnocQn/8iUtAvTkANhVabaQc0KPlcueQMHR3Fag10DT7YCegfFWe4mlOFHcvEjmbZTzdI g/0SzIdwDW2PGBq6yK4I9KhbqEoRM6SJuv7UWf3w6ijIQ/f+9aGxqg6Qc39h/A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644444774; a=rsa-sha256; cv=none; b=II3bYkOcvdfptTEJepBkjPtVmhAxcOsyz7VUxTrPC/CUwiXc/RKsmRVLizrun6rP7DvAsW BIqKggjUNOaO8TnrjVWTX1yvpyK2+xUehtgGz09CkuACUiIMSR3mFM3191o1e2nUERjGhk N4siot10O8baXMOzLkuZSryDYm8+ulf3AlDWFEQmA5qx1ErIi9ZYE/DvAU0vo9O+MEiOZa ZdYnH994FQbv2m/ybEhWJgV6NI9ijRl6Gmj+ziBjNuLWKGIGDwV2A8xc8SsjsXwxfZIlTQ r7o4JqhAbw663Us/jI4qeqKj9zdybiY6nq066nAMLg12jBJU/ZVeSJtbhuHvvQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.82 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: DA78C3A984 X-Spam-Score: -2.82 X-Migadu-Scanner: scn0.migadu.com X-TUID: GIIGI8ywwVaG Michael J Gruber writes: > If gdb is missing then some files are never written to so that the > comparisons of non-existing files succeeds for the wrong reason, > claiming that `notmch new` is idempotent when it was in fact never run. > > Catch this and (for lack of a better spot) set up the files with a > reason for the FAIL. > I'm a bit confused by this. For me if gdb is missing I get missing prerequisites: gdb(1) SKIP all tests in T380-atomicity ... All 1842 tests behaved as expected (8 expected failures). All tests in 1 file skipped. Do I misunderstand something, or is prerequisite detection not working for you? d