From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iG9ZOyOGqWCmnAAAgWs5BA (envelope-from ) for ; Sun, 23 May 2021 00:30:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EJMbNyOGqWB3GwAAB5/wlQ (envelope-from ) for ; Sat, 22 May 2021 22:30:59 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 F1445830C for ; Sun, 23 May 2021 00:30:58 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 06C372AA6C; Sat, 22 May 2021 18:30:55 -0400 (EDT) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 96A602A9A9 for ; Sat, 22 May 2021 18:30:53 -0400 (EDT) Received: by fethera.tethera.net (Postfix, from userid 1001) id 731BD5FD25; Sat, 22 May 2021 18:30:53 -0400 (EDT) Received: (nullmailer pid 1796105 invoked by uid 1000); Sat, 22 May 2021 22:30:46 -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: Sat, 22 May 2021 19:30:46 -0300 Message-ID: <87tumus8o9.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: FP7I34PFNNLLTOXKGTKQVGTYBLFG2BJ4 X-Message-ID-Hash: FP7I34PFNNLLTOXKGTKQVGTYBLFG2BJ4 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=1621722659; 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=4U6fPO7QDdt6Gq8Y8lX9pKfWlRqe7ZuWeuAkA5McdQY=; b=Ao4/FRD6dgsyLJ+UMOMo1x63DmlM79vsNFCqpfymxcqNE+c8ozY7SeA+SLanwKhIQB/d1i vdG5leeomVBb24TQQ/QgPN2Zmu4oKvBODRqDSRbFIpTxnHZKAnPmbCVvlvqTTdf/m1SPUQ sxuXLzxYGxZaJbPr7GqiobDL9XR3Lm6CyXE+Qmo1sQoz0agCNqO97cEDea5kUKvkWtsqC3 WfXV2KAEvWrXRrkTfsNDPxtt7I1BRrdPrz+qFNKsqQuFHPurUHPZ80ym57htyQ4nvxqQCt cDVmUktX9GzvMqXus1PdBhpY12PTy3CQS8BSNotQ7JSuQZXCtcw3kvhR6UZx4A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1621722659; a=rsa-sha256; cv=none; b=XHGiRFpVBK91+V+Yw8q3eIZSJ2J7gIu9iwiR3MBdZMOjlOB0c+TueYyd9EwipKwTT3Ljkh oJsMzk4DJUAuBS9KU/izmNVdwXs+ysy4NlJi2r6EkEU0bN1jbwXEt9uatGDrhxMFI7mqCe MxJYLjFIDlhbKF8svFDZmf8gDOS9zKGMf3YIRHBoD4upL/Mdy8Cqh7/iuQI0CiTCVSMNCy 6+/LXb0ImD4oR9tmMC9PPFCr+aNRJdVGn06x4q4LIIoA/EDvLGmFHCZqj7nBUgTSuSysRG Yuai4re08f4FGCGS8OqxyvsEjX2FT5jzJlOAe28Nko6bEq+FaJ7Tt2LIiZoZsw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.08 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: F1445830C X-Spam-Score: -2.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: STxb6UY0o+GJ 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. I still see things like: T568-lib-thread: Testing API tests for notmuch_thread_* PASS PASS count messages on closed db get indexopts from closed database Is that expected? Both "PASS" are coloured OK.