Re: [PATCH v3 2/2] test-lib.sh: remove the now-unused "test_untraceable" facility
- From
Jeff King <peff@peff.net>
- Date
- Dec 15, 2021, 17:17 UTC
- Message-ID
- <YbojKafkC/JcX4d1@coredump.intra.peff.net>
- In-Reply-To
- <xmqqh7b994tw.fsf@gitster.g>
On Wed, Dec 15, 2021 at 09:05:15AM -0800, Junio C Hamano wrote:
> Still. I wonder if keeping BASH_XTRACEFD helps developers, when > they need to diagnose a new breakage? If their new test fails only > in the "dash -x" run but not "bash -x" at the CI, for example?
I have done that, but usually only after realizing that "./t1234-foo.sh" passes and "./t1234-foo.sh -x" does not. So I think just tweaking use of "-x" would be the main tool.
-Peff