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 31614 invoked from network); 29 Mar 2022 09:01:38 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Mar 2022 09:01:38 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1648544498; b=r/gRtrP2YEcL/VfgPp1EvMLo3LsZcTWvhy2tpIImpaV5ibTaAXYgFOXnTIBYZEuYsQIe4FpVvv i5897ewoG2Z+avkkpH49GfQgdz4AM1FwZeXmGqgYQRETiERw8E9tjfwL026ofJcNPGvEcm6dm4 11f0khkCj6DdVR9hpMsPX/f3fvGCF+GV5SIBA1syunZBj2bwJIdWYWIGK7e6Hive2uj3DdUjPO iOj+cjY8TPDm6QLSSMrJ8auiLOAOHndFOb/yxh8Gya/sHvR+VScLo9mI19qEzvNsStrtI6/h0B 0uRnXJixP5T53fx0O4YaMJcEkkwojuw+v6J/V2jAPI2ZuA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (snd00009-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.9; 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=1648544498; bh=HLLvxJoEA+MRIm/6nhdrWe9rkB8VUKWisN5cKIkw62I=; 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=jFw1UogeOnAEYudlE26yHKbsiq1K8KEL3eye3OThVcO4zwONJeBZRVRXXhhrFjbquc+twva2Xu uUTZOqLqHB23lqaYlZ4RXqQ8k9xlgfl8ctCK/FoYuty+epAKpe8IAdkrCvS8NEt5/tVhLdENVu RDffQQt1BDLa8qfPFBg79AoEIBJRwDHhBYNiMGrq6IcV+saZ3I9+xZuZPupSKLlaZbGgYKWgrn Eq9Pmsqp1bh36uVtDlUsSR3i31aogRUT7S/+biUrHy3QIdyPoHoD8NW3L6tx0hSOOeJcJwxrIq Z188V81eooB89BRlEsXqANEf+HA4m+qwZ37vPsCtOThPdQ==; 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=OrDGIptGXVlroVZMba0pvgI+SGUg1jjvfozXjva5jsI=; b=TUDBWtjwLVHF1K1J1SfA4ub3QA 7tGiSRtQDj8wLfk4h+t38vRQpIMgtEL7Ax6FJI+p6BEh35vc2IcckwO6PQ0TkyP10ZLq9odqr2aYH MrvzDCLcT+Ge3ZMxTf/F6JukXBnaazbL4IehJkyhGOin0quLs5NEpSPXHGvDiX6aTX++u1iXqIt8J 3ZqjVcYsyJhc5P3gs8dJRzsdZiu9hR69G2mpJrXpkup9v8szt1XurWjJgWAR2hBtoPMjN82cBZSYe IM6dNzetZR5ifBYMMMqPb3f5iS9TNn5YbMOoe0hLDXl5nEkPadoGHmPWkh9mVliRji+jRKSG7ELyk fwTPpgpg==; Received: from authenticated user by zero.zsh.org with local id 1nZ7jM-0000Uy-Nf; Tue, 29 Mar 2022 09:01:36 +0000 Authentication-Results: zsh.org; iprev=pass (snd00009-bg.im.kddi.ne.jp) smtp.remote-ip=27.86.113.9; dmarc=none header.from=kba.biglobe.ne.jp; arc=none Received: from snd00009-bg.im.kddi.ne.jp ([27.86.113.9]:34081 helo=dfmta0009.biglobe.ne.jp) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1nZ7ik-00009T-9t; Tue, 29 Mar 2022 09:01:00 +0000 Received: from mail.biglobe.ne.jp by omta0009.biglobe.ne.jp with ESMTP id <20220329090052701.CSQN.128985.mail.biglobe.ne.jp@biglobe.ne.jp> for ; Tue, 29 Mar 2022 18:00:52 +0900 From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 29 Mar 2022 18:00:52 +0900 References: <20220315163347.GA617047@zira.vinc17.org> <082447B3-C6A4-44A1-A3D3-7FD89D707480@kba.biglobe.ne.jp> To: zsh-workers@zsh.org In-Reply-To: <082447B3-C6A4-44A1-A3D3-7FD89D707480@kba.biglobe.ne.jp> Message-Id: <0862E76F-68CE-419E-867D-A2BB898259E0@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3445.104.21) X-Biglobe-Sender: takimoto-j@kba.biglobe.ne.jp X-Seq: 49908 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/17 0:30, I wrote: > > Please try the following patch. > > The patch for E03posix.ztst may not be necessary for fixing the > current problem, but I think it is always safer to use 'zsh -f'. The patch for E03posix.ztst (adding -f) is not necessary; if ARGV0=sh and the shell is not interactive no initialization file will be sourced. I will push the following patch for ztst.zsh. Exporting MODULE_PATH has no effect since zsh will not import it for security reason. If a child zsh (started during tests) needs MODULE_PATH, then it must be set in the child explicitly. I think the 'expected to fail' test must be run in UTF-8 locale; I will send a patch in a separate post. diff --git a/Test/ztst.zsh b/Test/ztst.zsh index a59c06dcf..89fe69b5b 100755 --- a/Test/ztst.zsh +++ b/Test/ztst.zsh @@ -25,6 +25,7 @@ emulate -R zsh # Ensure the locale does not screw up sorting. Don't supply a locale # unless there's one set, to minimise problems. [[ -n $LC_ALL ]] && LC_ALL=C +[[ -n $LC_CTYPE ]] && LC_CTYPE=C [[ -n $LC_COLLATE ]] && LC_COLLATE=C [[ -n $LC_NUMERIC ]] && LC_NUMERIC=C [[ -n $LC_MESSAGES ]] && LC_MESSAGES=C @@ -36,8 +37,6 @@ typeset +x WORDCHARS # Set the module load path to correspond to this build of zsh. # This Modules directory should have been created by "make check". [[ -d Modules/zsh ]] && module_path=( $PWD/Modules ) -# Allow this to be passed down. -export MODULE_PATH # We need to be able to save and restore the options used in the test. # We use the $options variable of the parameter module for this.