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,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 25850 invoked from network); 2 May 2022 05:00:01 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 May 2022 05:00:01 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1651467601; b=cNIw4dw/jbVlumXPlAUWxw9zxp7qvFANFrlrkbYdDmImgpSF+8iUi+7Hnpa5lQJAlzOL0YEt/Q mVaRKTr7iBYfU+sFwvDDBKIfubNmJff2T8H0M3sOg7i3B/fHAp2q69nd3+X6oJ2QGOEyRSOMUJ Jx8qdKRn80PP0VN6UVvu47k/FDYqn/gMQyq+XWFBDQDfNuvp72ByCkLX3f91euymrM/vjEdlU2 Vc1lID+DhCosT4CTvelg7tyuO+2WVS6cpgju4Lz7mJ1e5P91jUavVQFAyY3m+EtTP59h2Nsy17 kLZRkHCwbXK27u8UiWRNgGrP/lQ2+1Cz3t5j7fhtHn9tUA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.24; dmarc=none header.from=kba.biglobe.ne.jp; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1651467601; bh=a7eE2I+u/8qMJkMWQypDNG9T08Jbq2zRl3wBiaDoX8k=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Message-ID:In-Reply-To:To:References:Date:Subject: MIME-Version:Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=eb/KJZK1/5ThkB+bLyEUKsS3r+neOeSH4HuO4qWFxUTcnn9NoBpwhFBiqkePTkCXT6OurLDEfv XATqJhV/Uznjx9em6kewwpIJo99nPA3AxXZJ4uu5zrDrl/khxZDuxyfKysClukgjnJcnzU7Kl2 3a+R/bqB3v/pBb27NzYdk9GEgnPHJe+guOLtwqRTTNaGlczp2pv5ORzCpyIvbyzqM6uMSNw7sa nrt7oS8KGYz4ToSVtZLdbRh1fG3GiGIN2UvWr6FVP7oQ6H5SvE99gma18iQ1rvPGjCdwCvHQJX BncA4Qe011qKVz165WKO+dxXEEhFUQ0DF5Plix7KGU63QQ==; 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:Message-Id:In-Reply-To:To:References: Date:Subject:Mime-Version:Content-Transfer-Encoding:Content-Type:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=NZXnzMbVxcEYrKogTEOdZ0Q7MN0+x1Lr35Eyw1Td6OA=; b=BpeutybQE4Ih3frBVVqlRm46bO F1f5MXh0eAM1uAEvbFkii1dtsbycQYy0GGk4UwYMPWWeIifbJqO5nzS68u8s4v+RfAh7xLxbbSTgc CCqeXHajJRrupBDyH5xFXpGl/z53AhoST08o5ymJ/ETczr4vCbuOP1tRE4n0ZRVcTebGxyrCCDLMS wawjdCAaZrdj2eHzbJ1jfChDxIvmtMbdEGdRxcjPs3RcsiytLRw32OdEtsxYMMqt6wxVkcHzhiIyu irGMW7hYyLB1enpliTYq3FlqdWdoLfCR+3wH7IHo7yHeQxpBRIcZVscEtsBUPEMVJ0INjGZ6smdNs gQwRhUCQ==; Received: from authenticated user by zero.zsh.org with local id 1nlOAC-000DQF-6c; Mon, 02 May 2022 05:00:00 +0000 Authentication-Results: zsh.org; iprev=pass (snd01008-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.24; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01008-bg.im.kddi.ne.jp ([27.86.113.24]:7201 helo=dfmta1021.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nlO9f-000D9D-MX; Mon, 02 May 2022 04:59:28 +0000 Received: from mail.biglobe.ne.jp by omta1021.biglobe.ne.jp with ESMTP id <20220502045922592.DDNB.38622.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Mon, 2 May 2022 13:59:22 +0900 From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: [PATCH] Tests for 50126, 50136, and 50149 Date: Mon, 2 May 2022 13:59:22 +0900 References: <2d3ff4e4-b705-4823-a49b-ba8844bd1b05@www.fastmail.com> To: zsh-workers@zsh.org In-Reply-To: Message-Id: <763A1D7A-AE66-42C0-8BB5-2745107A3112@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 50164 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: On one of my Mac, running macOS Monterey (11.1) on Apple M1 CPU, E01options fails as shown below (output with ZTST_verbose=3D2). The test passes on another Mac, macOS Mojave (10.14.6) with intel CPU. Anyone using macOS please test on your Mac to see it fails or not. Running test: regression test: multios with nullexec ZTST_test: expecting status: 0 Input: /tmp/zsh.ztst.51589/ztst.in, output: = /tmp/zsh.ztst.51589/ztst.out, error: /tmp/zsh.ztst.51589/ztst.terr ZTST_execchunk: status 0 ZTST_test: test produced standard output: ZTST_test: and standard error: --- /tmp/zsh.ztst.51589/ztst.out 2022-05-02 13:24:56.000000000 +0900 +++ /tmp/zsh.ztst.51589/ztst.tout 2022-05-02 13:24:56.000000000 +0900 @@ -1 +0,0 @@ -some words Test ./E01options.ztst failed: output differs from expected as shown = above for: ( exec 3>&1 3>&2; print -u 3 some words ) Error output: some words Was testing: regression test: multios with nullexec ./E01options.ztst: test failed. Note the two empty lines after "ZTST_test: test produced standard = output:" and "ZTST_test: and standard error:". This means at this point = ztsts.{tout,terr} are both empty. But after the diff output, it says: Error output: some words so at this point ztst.terr does have the correct data "some words"...? If I add a "sleep 1" after ( exec ... ): ( exec 3>&1 3>&2; print -u 3 some words ) sleep 1 then the test passes. But not sure whether this is a correct fix.=