From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 6917 invoked from network); 20 Apr 2020 14:10:25 -0000 Received-SPF: pass (primenet.com.au: domain of zsh.org designates 203.24.36.2 as permitted sender) receiver=inbox.vuxu.org; client-ip=203.24.36.2 envelope-from= Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with UTF8ESMTPZ; 20 Apr 2020 14:10:25 -0000 Received: (qmail 27504 invoked by alias); 20 Apr 2020 14:10:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45710 Received: (qmail 18830 invoked by uid 1010); 20 Apr 2020 14:10:11 -0000 X-Qmail-Scanner-Diagnostics: from smtpq2.tb.ukmail.iss.as9143.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.2/25786. spamassassin: 3.4.4. Clear:RC:0(212.54.57.97):SA:0(-2.7/5.0):. Processed in 3.252707 secs); 20 Apr 2020 14:10:11 -0000 X-Envelope-From: p.w.stephenson@ntlworld.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _mailcloud.virginmedia.com designates 212.54.57.97 as permitted sender) X-Env-Mailfrom: p.w.stephenson@ntlworld.com X-Env-Rcptto: zsh-workers@zsh.org X-SourceIP: 172.25.160.137 X-CNFS-Analysis: v=2.3 cv=FoieA1jq c=1 sm=1 tr=0 a=wOjQ4in9RKFG6jhXMc4Ghg==:117 a=KEnZaF_ea6UA:10 a=IkcTkHD0fZMA:10 a=DoY9bV0jb9AA:10 a=pGLkceISAAAA:8 a=23x5keZJSad9paqi2akA:9 a=QEXdDO2ut3YA:10 X-Authenticated-Sender: p.w.stephenson@ntlworld.com Date: Mon, 20 Apr 2020 15:09:25 +0100 (BST) From: Peter Stephenson To: =?UTF-8?Q?Timoth=C3=A9e_Mazzucotelli?= , zsh-workers@zsh.org Message-ID: <309829031.4459446.1587391766024@mail2.virginmedia.com> In-Reply-To: References: <20190518075514.hbygmb5dl5wz23h5@chaz.gmail.com> <20190520103444.qyih7lvoigvf3rfx@chaz.gmail.com> <1563722540.4311.24.camel@samsung.com> <1565710707.5633.11.camel@samsung.com> Subject: Re: Feature request: ZSH_XTRACEFD variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev64 X-Originating-IP: 165.225.81.56 X-Originating-Client: open-xchange-appsuite X-CMAE-Envelope: MS4wfKqr7X6NlY8ZXOC5uTElmVFyCBK1Te8OeAFkypCNAmED/T6NxfI7SSHhjHlRThe3UkVy5yQwYDSznkqSHs0tKjWBx/XHJyysyueAjKZfrtEI+WoBiqXU a8BlMezMFsdxx69yB/+59H/L1yFmfuay1ETVIA9eG87ncwXZRZNU37clmBI7M4RgDBELAGL4CLCR2QuzDFJW/4bQfHXP/W/PH2Trmy1ugF2AjvRCJ6xF3j+H BTOs/T5H3fwoUVuf2UKa+g== > On 19 April 2020 at 11:30 Timoth=C3=A9e Mazzucotelli wrote: > I managed to write a test for the ZSH_XTRACEFD feature in A04redirect.zts= t, > and am planning to add more tests, but maybe you'd have some hints on wha= t > I should test? I think the interesting things are where the variable is changing dynamical= ly, e.g. has a local value in function and then changes back. We should check doing that repeatedly is robust. If that works that's a pretty good first pass test at robustness. pws