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, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28625 invoked from network); 23 Mar 2022 07:15:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 23 Mar 2022 07:15:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648019727; b=j9GSxYw7EfffaYL2N53UzpIKLxPcBg7b/KK6g0JnPknZRNw+NafGMJmQ65jdrK+2q5CpDzfIh6 H5PIwbwFovyisWXXfDVyD4L4R+1XCtk8oWJ5uIhdUwFwWQOEi+Zy00/Tu+kXD+xL7egBmY7QfE vhEzgodSpOksvSS4kRqq3cle0jXcRkrqn9k+B4zyD88xyVkZjit5RdDk4KjruuRH7u8aBqCeCy /s3hrQpRK0mdTVdNTUAyslZkqspOqeS1p+2YQSKtnKttY1GZwApmwV06CdKnmqT9FxzUy/IO6T A+3QF+Xjg/QUGRvn4U9rTDwSlJwgz9omQAyP0DqWi8LLkA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd01013-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.29; 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=1648019727; bh=P2SiWSyymSgxQWKvYbckutgte0ZxJz6olzfVQ4SBB/M=; 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=EhGGu9rZaWS2Hyl2JOfTHF2iQaLRsaDU44YrX0DaIbo/hy/nvMUJk+2sq3BmJ7sR8xZhnYRXqf 8rQC/NovqjvztpqAFyCQEi5ZLubompyoEpERCYFuSd7tTzQh4m/aMA/3VM4t1kZCi13NgpOhE6 4ooOKOwe26NRpubpXMFT2lTIWj8yY5zl3wGeS4UT4yF+QLDR4Oag6GLb8AvxgjVt7/fd+UX9Gr vNz36XEW19cGWW0bSfJdqt2zm++/1R6dTVwb+kkxXKVEV67DsjeJK63WNdi1vRzsWqlWZAiaHY yeZ9riYdWhFBxZn8Rw4t3tkxd4EQlbG5FAR+ZUecQ0hBlA==; 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=XOfvv8nQlWcWMz+9IbU7RjZmYaHHi8xG9rv59JBIBh0=; b=AR2luBHYQK9qQ9XG+6ZId1n7I0 JFCsj3wFWKglt1mIFiAr2Z78vCZ8G2TVBcv+XIWl992Qhoh3c7ZLydTMaVACQhZCj6XbFPJiDMk8q UzAYjNtVNDNqzHQH2L0cHsxL0L18LDAAB8/4V4HKHaM7AfwDHGJS22zJOCUwAUxSYJ8fk0Gqj2Gyt 20XZDyUeGdPNLVgUESY10igl+CNck27GHb2sBgDvl07NKVpUPuOK3jwAHv9ILSQyjCvVGSVDpP1rY BawTXpxiZjal0ULuyZqy+F4Wihef5CpC1h4Yg+KZRIDkukAUVvBVvqYCE2CHdYbyWWm5oocjpK0ZV t4Z9ofwQ==; Received: from authenticated user by zero.zsh.org with local id 1nWvDK-000OcZ-0V; Wed, 23 Mar 2022 07:15:26 +0000 Authentication-Results: zsh.org; iprev=pass (snd01013-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.29; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd01013-bg.im.kddi.ne.jp ([27.86.113.29]:49057 helo=dfmta1015.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nWvCn-000OHp-1r; Wed, 23 Mar 2022 07:14:55 +0000 Received: from mail.biglobe.ne.jp by omta1015.biglobe.ne.jp with ESMTP id <20220323071446787.UVBV.129695.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Wed, 23 Mar 2022 16:14:46 +0900 From: Jun T Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\)) Subject: Re: Test ./E03posix.ztst was expected to fail, but passed. Date: Wed, 23 Mar 2022 16:14:46 +0900 References: <20220315163347.GA617047@zira.vinc17.org> <082447B3-C6A4-44A1-A3D3-7FD89D707480@kba.biglobe.ne.jp> To: zsh-workers@zsh.org In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 49881 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: > 2022/03/23 6:04, Bart Schaefer wrote: >=20 > On Mon, Mar 21, 2022 at 8:33 PM Jun T = wrote: >=20 >> [2] Why is the test marked "expected to fail"? >=20 > POSIX printf counts bytes regardless of locale, zsh printf counts > characters in multibyte locales. >> What does 'F:This is considered a bugfix in zsh' mean? > Specifically in this instance, we consider it a POSIX bug that '%s' > always counts byte positions and that zsh has fixed this when it > counts character positions. Thanks for the explanation. If the 'expected to fail' test exists for reminding us that we are (intentionally?) contradicting with POSIX, the test need be run under UTF-8 locale (in D07multibyte.ztst), with >< St=C3=A9phane> # single ' ' before 'S' as the POSIX-conforming output. Am I right?