Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Feature request: ZSH_XTRACEFD variable
- X-seq: zsh-workers 44316
- From: Timothée Mazzucotelli <pawamoy@xxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Feature request: ZSH_XTRACEFD variable
- Date: Fri, 17 May 2019 15:08:57 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=default; t=1558105741; bh=v2+aVkbKDlzzLPDSqhK9yLhgtJiKD1NKsEf20Aa0XGs=; h=Date:To:From:Reply-To:Subject:Feedback-ID:From; b=V1P0tagoncwnhLvT23/4BodxhHXF+yWAABtRJZQkNNs+/RoZxCOFrsoYXMb4lQWUr zfSOSyeBJ7j6PUHUnXYfmiqhzesaBnocqFJI4jsSSPTnJ6eeJBAIOs5abtWuhEkfBn JDIbksfekZM+kPVNfDvlxHVuFstozfvYHbI2Ccz4=
- Feedback-id: eQEoEV67f8tbqfymUP1djy1haXOkGphxK1vKM3GldR-FpehkfISOocN67fPx-LKg_RRK3SuC8WF4bMOq_3Z1zg==:Ext:ProtonMail
- 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
- Reply-to: Timothée Mazzucotelli <pawamoy@xxxxxxxxxxxxxx>
Similar to Bash (BASH_XTRACEFD), I would like to be able to change the file descriptor to which the XTRACE output is sent.
It would allow me to build a Zsh script that computes code coverage through a unit testing tool like ZUnit (inspired by Bats, for Bash).
Indeed ZUnit captures stdout and stderr, therefore I cannot use the XTRACE output to compute code coverage because it's mixed up with stderr and so captured by ZUnit.
Regards,
Timothée Mazzucotelli
Messages sorted by:
Reverse Date,
Date,
Thread,
Author