From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4Oh0Jg/T72JBXwEAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 16:58:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 6AR+Jg/T72Ka5AAAauVa8A (envelope-from ) for ; Sun, 07 Aug 2022 16:58:23 +0200 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 783203FAC5 for ; Sun, 7 Aug 2022 16:58:23 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id C776D5F372; Sun, 7 Aug 2022 14:58:14 +0000 (UTC) Received: from mail.kisara.moe (119.ip-51-38-65.eu [51.38.65.119]) by mail.notmuchmail.org (Postfix) with ESMTPS id 24B3C5E012 for ; Sun, 7 Aug 2022 14:58:11 +0000 (UTC) Received: from localhost.localdomain (unknown [141.98.252.161]) (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 mail.kisara.moe (Postfix) with ESMTPSA id 898ABA0B53; Sun, 7 Aug 2022 16:58:10 +0200 (CEST) From: Mohsin Kaleem To: David Bremner , notmuch@notmuchmail.org Subject: [PATCH 3/9] test: Fix Search handles subprocess error exit codes Date: Sun, 7 Aug 2022 15:57:27 +0100 Message-Id: <20220807145733.129867-3-mohkale@kisara.moe> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220807145733.129867-1-mohkale@kisara.moe> References: <87v8re66mg.fsf@tethera.net> <20220807145733.129867-1-mohkale@kisara.moe> MIME-Version: 1.0 Message-ID-Hash: RXQ7OBBKVY56VLLHB5IE5KLQYJVAN7BO X-Message-ID-Hash: RXQ7OBBKVY56VLLHB5IE5KLQYJVAN7BO X-MailFrom: mohkale@kisara.moe X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0 CC: Mohsin Kaleem 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=1659884303; 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=PWq7alKHTWOTxO3WUxz6xynU6B3UqKt1AdG02NNg5l8=; b=oih/0b1oWoe19I/Q/1mB48+CPiD40UKz/wOUBn8NVVyvPxgR2Eg6tJZbOuMdzgrkARB+9N dKJhk5rZSskWm1OdeqZ0dLj1pfxIyiKHOhEKnBDjSd/cIlS7nMBtt45HZWwrsnDmH3YTle rArAJwm4Ho+KKfzAiGnCR+WZ6YL6s6IKXQx7npaWKIF0HmtC7h/akBeuxEinYakbipypwR +PugeFbbNBYOqYiL9rNIotE0ruDyc4Je+tSsBdVHYeR13mzYD5pLLMts/70S0J8N1zPzwv uO91iNPksdmoMZ+UQUQjftu8j6P5tYVE0d81wmwlp8w8zLIZZl8wD71n4GqdNg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659884303; a=rsa-sha256; cv=none; b=Ty0He+mE0KFczdOaFf9gGiY4+e8R6oqH27o8eCxJhUoYcEbdbk8yTnqnETtvA8tr7Cd0Ec PkKmz6QCFGxEJY/g9O3b7ZjLR7toQdfobkGIjv24gxw2QwVspnge9GmRpyfgSgPSeW6jNJ sQfkIR/jolT2zFd1732P87Uz3xkCfQLv134znt++cUQlBZG9huOIRdjVCQXfXecf74NPQv GbXh5OYo1r9SNotqqNakc4I3jWR3kKTF5ifgwrF894DFeZPB3yVVete1QQrXO3ryoQlcTz XB8rarH+rkjoR+lQeQ+LoQyiyk4cUkqDOi0H2afZTkS67aYt1/VdEsUH5zISww== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kisara.moe (policy=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.94 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kisara.moe (policy=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: 783203FAC5 X-Spam-Score: 2.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5KNUzjHQDED3 Add in a new option --exclude which wasn't previously passed to the subprocess. --- test/T310-emacs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index 9d0df187..b89a100e 100755 --- a/test/T310-emacs.sh +++ b/test/T310-emacs.sh @@ -1030,7 +1030,7 @@ End of search results. YYY/notmuch_fail exited with status 1 (see *Notmuch errors* for more details) === ERROR === YYY/notmuch_fail exited with status 1 -command: YYY/notmuch_fail search --format\=sexp --format-version\=5 --sort\=newest-first tag\:inbox +command: YYY/notmuch_fail search --format\=sexp --format-version\=5 --sort\=newest-first --exclude\=false tag\:inbox exit status: 1" test_begin_subtest "Search handles subprocess warnings" -- 2.37.1