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,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8829 invoked from network); 2 Dec 2023 14:34:07 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Dec 2023 14:34:07 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1701527648; b=NmdmXt7YrzMtYav8F3Uc71eH3cfn68HEZHGI4Z9q5Pj8wjEHvIP3BMN6hWmYep1UMxIjbh52EI ibEJGrnwPzzp23q7Y5jiYBkKPMubc62j49H+80iXiO32d9fWZaJRE1DgAE7l7FkTl8HQYrlU5K PK6P29ld/p/mca9k+JKz0RPQzK7+ivudU3oNjPv/FXSZxa7+t2GxsJ/HeWdkF0oV4rIDU4Hr9l 1gcvCkE5ToUU8/5rW/5nL/FQpOEQ+2UY0y4hEPInvEowpzum3JNCIjKvaZznrPd0mLDPrUgP3A 5fnKCSpQrE9E6C+I3tB0hvnAbR1f0hsjRaIDu04EHVs8VQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00007-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.7; 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=1701527648; bh=UI3fJKmcwXdJs2YpQ9zc7ScQO8rk49MHK3a5KaAEmtk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Date:Message-ID:Subject:MIME-Version: Content-Transfer-Encoding:Content-Type:From:DKIM-Signature; b=Gk+W1u2OdWxXlIUR2hYwf+IcUEsvujKtTtEG34XRgRqK9tEsLviZW02HbqdJHP6ybV1to2/CtL Yn6xV8aVnwDexB1z9a3fsAke1JbZt49u9hhsy/il9pK2RVUaxxvrMNa34LWdPSLHSKzQhhjlER c2506+wx8nxo1eVP98PpB3S5mxh/TGYOZzJs8LSlZ8HyKZn2jU6+RW/nYggJ3+P9buSZSCTMn7 zN0nDtuADGTLOZYgP00GKDvim48ON4XYqTYQAMy7yA+v06M5Df6f0vDS/RDDGR4xz0+koq3Rmr prGS2AGreO4CafZx3NEVnbuq/xbMzvZzjOsycs5HNHx2mg==; 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:To:Date:Message-Id: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:In-Reply-To:References; bh=GmIqjSz9lKasg1kiBvwrmuwGENYDepsqNHYCJ7UiYCw=; b=erX/7LEoaKN1HyLHsgAwqq0frT 1Ept1hnal+/biQnsSnZmxvzyeSryPsDf3Lz5C0eQBlX9vGKvGFe0uvrKyx6DUHet7YLuE/8gJJrwc k5GGBNghr+Ml9fomNc9Gg+idmD6pbKhnUH7e/BLMmny+/7Abds5VZT0AyA0JhHBmA32biEqNYcDTW tA17cq7OtEt0Rn4vp9ARHbcZIAVbzD2FhCScbC8CQ2QA1Qebl9E0SIoAmrhY9q7ycYaVtCMvLytsT o0HP+PfPZRUIu7bp2XLztGLgv+vWms+NjKVQau5v/e7irwILddC9p6gEXNnQOv/10jkibN+B8JXWX Qpu1VZWA==; Received: by zero.zsh.org with local id 1r9R4I-000KAq-2h; Sat, 02 Dec 2023 14:34:06 +0000 Authentication-Results: zsh.org; iprev=pass (snd00007-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.7; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00007-bg.im.kddi.ne.jp ([27.86.113.7]:26915 helo=dfmta0004.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1r9R3e-000Jrk-6Y; Sat, 02 Dec 2023 14:33:29 +0000 Received: from mail.biglobe.ne.jp by omta0004.biglobe.ne.jp with ESMTP id <20231202143320113.DLRI.40398.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Sat, 2 Dec 2023 23:33:20 +0900 From: "Jun. T" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Tests A04 and D07 fail on macOS Sonoma? Message-Id: Date: Sat, 2 Dec 2023 23:33:18 +0900 To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.3696.120.41.1.4) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 52355 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: I've upgraded one of my Macs to macOS 14 (Sonoma), and found that the tests A04redirect and D07multibyte failed. Are there anyone having the same failures? ./A04redirect.ztst: starting. =20 --- /tmp/zsh.ztst.11189/ztst.out 2023-12-02 19:13:19 +++ /tmp/zsh.ztst.11189/ztst.tout 2023-12-02 19:13:19 @@ -0,0 +1 @@ =20 +foo =20 Test ./A04redirect.ztst failed: output differs from expected as shown = above for: print foo >&- Was testing: '>&-' redirection ./A04redirect.ztst: test failed. I think this is a problem of Sonoma (it may be the same bug as FreeBSD 13.1 reported in workers/50919,50935). I've sent a bug report to Apple today. ./D07multibyte.ztst: starting. Testing multibyte with locale en_US.UTF-8 --- /tmp/zsh.ztst.23000/ztst.out 2023-12-02 19:13:55 +++ /tmp/zsh.ztst.23000/ztst.tout 2023-12-02 19:13:55 @@ -1,4 +1,4 @@ -OK -OK -OK -OK +Failed: no error message and no question mark +Failed: no error message and no question mark +Failed: no error message and no question mark +Failed: no error message and no question mark Test ./D07multibyte.ztst failed: output differs from expected as shown = above for: (snip) testfn() { (LC_ALL=3DC; print $'\u00e9') } repeat 4 testfn 2>&1 | while read line; do if [[ $line =3D *"character not in range"* ]]; then print OK elif [[ $line =3D "?" ]]; then print OK else print Failed: no error message and no question mark fi done (snip) Was testing: error handling in Unicode quoting ./D07multibyte.ztst: test failed. On Sonoma: % LC_ALL=3DC; print $'\u00e9' 'e __STDC_ISO_10646__ is not defined on macOS, and ucs4toutf8() (utils.c) uses iconv(3). It seems Apple "improved" iconv(3) so that it gives 'e as the best representation of U+00e9 (=C3=A9) in US-ASCII. I don't know what we should do here. One possibility would be to force define __STDC_ISO_10646__ on macOS (haven't tested this yet).=