From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5157 invoked from network); 2 Feb 2023 11:39:36 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Feb 2023 11:39:36 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1675337976; b=U/OJXmGCrQUIwTZBg49Vf1ME7EwiCps6d5JtBbP2sZGtLG/++3BSXjSMcCteYP4RDumnSkEoIC UJujguH50f7jvu9Z/+gucpZc/x8IGMX0Mq9ugLbfo0YnuxXHaVDFXzJtczl49OY8K7nu+vcwg7 QaIJe6lj23ybzpexzJH3Wwu3w/jaygS1YxDhBXHTwKkOP81K5hNQ4hXFoCcLoLhXsK2oLy5lR9 K56Jp7jy1AkWAhOixm5+sttevcyJI5tXE2mjjuXFF71cLNz01xKK5AqzF9CS1cQKlhd6PKpjSB pijWREnKB0RhhaCBj68eW/30rKVdyuhWmW34WqsTiA7YrQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1675337976; bh=OKYAlcI8+Jh9YZQ9Z3R8r8JPUWlR9YvlP2Nv3qXknio=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:From:Date:DKIM-Signature:DKIM-Signature:DKIM-Signature; b=C+Ax1G4EydRYrcnK7V/clj+pAHR4xHTUSdWBmoMqYmYAFm05xN7+swUAk7Cxy8d7/7CNtXs0mP Pwp00UdR5FEv5pj9DxeoG/VR2MHKRkEnTAV9S5tlk4SPwShN/uvwsMzDfOiOjoWgiPjPuENCyG E2W87AisE/iT4g1+6f2JF/4v2HIeJe1hKnjmgJIHACnwkWg3rU83AD6BMAx3huCzbvAp9ibT0K hrK9N6rzsqYt7YhUHjY35pd+UMm45ueLIHR9L7zhhwvYVRjoV1xs5yYad2cLaVSGzbvuzHFVT7 kOUaHTS32HvPSSRrBNumI93WAYj3jcvvI6NmDDv429FJAg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=xGE9nXdjQKtGCuslx7zuXdBvmVGiC/MMOHTsQfV+Xh0=; b=ARQnBl6QpN6fKlEW1RRP8PG5qz mluGOt4AQZndpH+uw99qHaF3yj/jR59YSdLWz3k2TvVKieG54kWE9dxSrwT9PBYlVVms7DT5ixAQ0 U9UEPDMm8fs7aq9AlPB4MRDUGyg2gZS6EeORQx0+rjojWNA2DB/16dJvr95r3XRFm+uodFAe6znru WcgIaJLqPDRk/yixyuZEPxk1DaTlo015LamfTZKGC1P0+/jym1wOidb5L/3tsjdnVtZZwVsowEwqb m4Ur4Rt3N3qzyyoCLnsiLLJdXe4xlFVsXN8OCU1xdlj8/y0KtOkJSlI3TOJ4b3aF+IObdX7lI+DLN HOMmR3PA==; Received: by zero.zsh.org with local id 1pNXwF-000Kqy-FY; Thu, 02 Feb 2023 11:39:35 +0000 Authentication-Results: zsh.org; iprev=pass (out4-smtp.messagingengine.com) smtp.remote-ip=66.111.4.28; dkim=pass header.d=daniel.shahaf.name header.s=fm2 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm3 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out4-smtp.messagingengine.com ([66.111.4.28]:47083) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1pNXvg-000KXt-Co; Thu, 02 Feb 2023 11:39:01 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 991F15C01F3; Thu, 2 Feb 2023 06:38:59 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 02 Feb 2023 06:38:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm2; t=1675337939; x= 1675424339; bh=xGE9nXdjQKtGCuslx7zuXdBvmVGiC/MMOHTsQfV+Xh0=; b=D 5C35iXLXVE/LXvBR0CFqBDEguNvyH+JPmel4EZsJ4+FSplvzGdNkxopUja4/nnmN UnN62FcZEykae+d6XpYMFOl4lYHkGLlHt+ogy588BizjHwj5X8OdXVCTnQFSmwNd FSk8AzyoYRWJyxL75QRUbwAk2V0bCfKcOz6QUsm+4bKIq1lTdtO+2n7nN5cnr3Rk HQCu4pmuxalsnjp+Yyh8+WiepUdMYcopkg2vmYVTXc7RZ8je1GNMptgQ77QUb5Cf llUAWDvVHvQAdXuxviqApm0oUvD+QPU8J6Gfi6EP8WVPuMVzoFjqFlLmnYPHpe8X TJ2R59U0o3anysblBK14g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1675337939; x=1675424339; bh=xGE9nXdjQKtGCuslx7zuXdBvmVGi C/MMOHTsQfV+Xh0=; b=GPTKvjd9J5YvKrAJtWWE9ue5POPLpeISXluYDnTpo4G6 J8THqvFlwioOEJQl3NEDBxgmF/9u2tvHeUkZhT8C1YIIvVPC0suBEb/62ZYd18hj SEsNql/Pm4nAsoZ5Sfn7JQqF+4aFIJ4hJw27i0RUIFxM3//R70/5+q1iXKF8EwZa 76LsFm7PQJ8BrKejOT1MVNpDedHq/1nqSZxRspMWGS0nkNVRt1aZ5UCRNbxQL3Ux vypxW9TK8ySCSpk3cyHWzdVy6RBb3BOwRXjGIeObgAXEVg0dN3H8W/XmBhlAY9q3 FyDoGBHJot2dvsY7dhVm0/LIoxBr3byo3Tb55AcIFw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrudefkedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttd dttddtredvnecuhfhrohhmpeffrghnihgvlhcuufhhrghhrghfuceougdrshesuggrnhhi vghlrdhshhgrhhgrfhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeeuveekfeffueefhe efhfegffefvdeitdehtdegleejledviefhveejfeetgedvkeenucevlhhushhtvghrufhi iigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegurghnihgvlhdrshhhrg hhrghfrdhnrghmvg X-ME-Proxy: Feedback-ID: i425e4195:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 2 Feb 2023 06:38:59 -0500 (EST) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1000) id 4P6xdF5Wyhz160; Thu, 2 Feb 2023 11:38:57 +0000 (UTC) Date: Thu, 2 Feb 2023 11:38:57 +0000 From: Daniel Shahaf To: Zsh hackers list Subject: Re: D01 test failure for prompts in dumb terminal Message-ID: <20230202113857.GA22397@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 51351 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Bart Schaefer wrote on Wed, Feb 01, 2023 at 17:02:00 -0800: > Subsequent to workers/51297 -- > > In an xterm or gnome terminal, test D01 succeeds. > > In a shell running in an emacs buffer, I get (trimmed from ZTST_verbose=1) > > Running test: Equivalence of terminal colour settings (foreground colour) > Test case skipped: Missing terminfo module or non-colour terminal > Running test: Equivalence of terminal colour settings (background colour) > Test case skipped: Missing terminfo module or non-colour terminal > Running test: Attribute optimisation - preserve initial disabling of > attribute but drop useless later one > Test ./D01prompt.ztst failed: bad status 1, expected 0 from: > A1=${(%):-%s} > A2=${(%):-%u} > A3=${(%):-%s%u%s} > [[ $A3 = $A1$A2 && -n $A1 && -n $A2 ]] > Was testing: Attribute optimisation - preserve initial disabling of > attribute but drop useless later one Any chance that $A1 or $A2 are the empty string? > With ZTST_continue=1, that is the only test that fails. Perhaps it > also needs to be skipped? Skipped upon what condition? Skipping when $A1 is empty seems reasonable, for example. Cheers, Daniel