From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IEW1K/Y4qmCyRQAAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 13:13:58 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id EM9xJ/Y4qmBSKwAA1q6Kng (envelope-from ) for ; Sun, 23 May 2021 11:13:58 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (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 1F7A134AF0 for ; Sun, 23 May 2021 13:13:58 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 1A1F12AAF9; Sun, 23 May 2021 07:13:56 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by mail.notmuchmail.org (Postfix) with ESMTP id 832522AAF2 for ; Sun, 23 May 2021 07:13:53 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 7BC6F5FD25; Sun, 23 May 2021 07:13:53 -0400 (EDT) Received: (nullmailer pid 2275310 invoked by uid 1000); Sun, 23 May 2021 11:13:52 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Subject: Re: [PATCH] test: say_color() in one write(2) In-Reply-To: <20210506141232.24182-1-tomi.ollila@iki.fi> References: <20210506141232.24182-1-tomi.ollila@iki.fi> Date: Sun, 23 May 2021 08:13:52 -0300 Message-ID: <87czthsnwv.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: JV2D7RDRYN5G2HEOCZU52XROW7U2TAYS X-Message-ID-Hash: JV2D7RDRYN5G2HEOCZU52XROW7U2TAYS 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; suspicious-header CC: tomi.ollila@iki.fi X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1621768438; 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-unsubscribe:list-subscribe:list-post; bh=36ji10k+c90JXzrbKCj5TpDVjEml5E8TfScBk0XNSUE=; b=hdHq7Ihrg47nZNCkKSjaNfS6CEu5wNKcD1m3rEtGJYO+quRQOLVHbC9ccHFnCOyveWLhsL 56JYJgIg+A/fAgudktSjcq0HJtzRYBNrSW1x/Heo3EZxuMZrHaZItDWf/yzIlh2+v8+r2y zc94wEgIwpNJzcAcP04uRYAa4yXBcVL4cqCcsFfDhDFM3Q4lsLv07366LGlMssYsSatxs2 WssnHM1mA/4sz7UKt2JGklwM81NUzf+SN9Gs/El7wMlaFT2W+Yai1i9TSM6OttvEC0YB8Y qTw5JxWLVJbiWf9yQ4HbPSBIYYLhDflqF6+en30Xk1VTr3zMSB1ObexlqKfI5g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621768438; a=rsa-sha256; cv=none; b=YKlYjPDVSqYirNZDmgyPJqthozGWoYXpin+1yke4Wmp4sxguJi1Z7PU+bV2HAA2aUck/D6 X12xtYf7upF30VzoUpm9owScUGtGpoB9bjTP48L5oI8NydOreBUWxpDpmooAfWg9gqcL6T 8BqXlDGrus9gWxWM0D2M8KP87tBSsVAEVtXQo1MziTeS2AgAfE0BTCz3WUCgoN9NBzZF6+ iAetAeD0vqH5/bI5+AFhk2JmQBodNS6LDMMSxRffSwvtoaNapA+tj0QHuPrv9XwdhkFbZH GW6LtQ+d+nhpVYkuNtjctkAqrb5Op2I8/eq08tBmEg17nb4XpHZFKNTXfJTl0A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.07 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 1F7A134AF0 X-Spam-Score: -2.07 X-Migadu-Scanner: scn0.migadu.com X-TUID: MzyHI3hnUQMg Tomi Ollila writes: > say_color() used to call (builtin) printf (and tput(1) to stdout) > several times, which caused attempts to write messages with color > to have partial content (e.g. escape sequences) often intermixed > with other tests when parallel tests were run. applied to master. d