Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Feature request: ZSH_XTRACEFD variable
- X-seq: zsh-workers 45710
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Timothée Mazzucotelli <timothee.mazzucotelli@xxxxxxxxx>, zsh-workers@xxxxxxx
- Subject: Re: Feature request: ZSH_XTRACEFD variable
- Date: Mon, 20 Apr 2020 15:09:25 +0100 (BST)
- Importance: Medium
- In-reply-to: <CAD8ZDTotCLBANtzppSbCcgKyLhkXaVWysjqv99xS6bnLypBViA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <EL9xNuAdKSLWp41th3XxhRLVtul7jHkT9ons2s2c_35aNjCbCMzo4DqiCNV1SoNjdLhNgdUGLNMHQxQ9q4jDMcNIsxzonWx5jzOB5Hr8rBs=@protonmail.com> <20190518075514.hbygmb5dl5wz23h5@chaz.gmail.com> <20190520103444.qyih7lvoigvf3rfx@chaz.gmail.com> <CGME20190721150914epcas1p18b5b4b9ccc4e593e854b076a835257c7@epcas1p1.samsung.com> <CAD8ZDTrfrWTKfa1efTo63uk1XJO4BOp5hSLOfjL1tXkeDMf_QQ@mail.gmail.com> <1563722540.4311.24.camel@samsung.com> <CAD8ZDTokqOTfEajquX2SKU5pLWgd85sPdRMYkxE4nF0pQhi+BA@mail.gmail.com> <1565710707.5633.11.camel@samsung.com> <CAD8ZDTotCLBANtzppSbCcgKyLhkXaVWysjqv99xS6bnLypBViA@mail.gmail.com>
> On 19 April 2020 at 11:30 Timothée Mazzucotelli <timothee.mazzucotelli@xxxxxxxxx> wrote:
> I managed to write a test for the ZSH_XTRACEFD feature in A04redirect.ztst,
> and am planning to add more tests, but maybe you'd have some hints on what
> I should test?
I think the interesting things are where the variable is changing dynamically, 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author