Re: [PATCH 01/11] t: prevent '-x' tracing from interfering with test helpers' stderr

2018-02-24 Thread SZEDER Gábor
On Sat, Feb 24, 2018 at 12:39 AM, SZEDER Gábor wrote: > - Duplicate stderr of the tested command executed in the test helper > function from the function's fd 7 (see next point), to ensure that > the tested command's error messages go to a different fd than the >

[PATCH 01/11] t: prevent '-x' tracing from interfering with test helpers' stderr

2018-02-23 Thread SZEDER Gábor
Running a test script with '-x' turns on 'set -x' tracing, the output of which is normally sent to stderr. This causes a lot of test failures, because many tests redirect and verify the stderr of shell functions, most frequently that of 'test_must_fail'. These issues were worked around somewhat