Tomi Ollila <tomi.ollila@iki.fi> writes: > When something in tests fails one possibility to test is to run > the test script as `bash -x TXXX-testname.sh`. As stderr (fd 2) was > redirected to separate file during test execution also this set -x > (xtrace) output would also go there. > test-lib.sh saves the stderr to fd 7 from where it can be restored, > and bash has BASH_XTRACEFD variable, which is now given the same value > 7, making bash to output all xtrade information (consistently) pushed. d