diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-05-31 14:08:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-05-31 14:08:27 -0700 |
commit | 68a6e976a821ebf2b3766efb167fa716cbf8c188 (patch) | |
tree | 5232a164b8b372e34062ac73ff32be9f93b0de28 /t/README | |
parent | Merge branch 'js/name-rev-use-oldest-ref' into maint (diff) | |
parent | test-lib: set BASH_XTRACEFD automatically (diff) | |
download | tgif-68a6e976a821ebf2b3766efb167fa716cbf8c188.tar.xz |
Merge branch 'jk/test-send-sh-x-trace-elsewhere' into maint
Running tests with '-x' option to trace the individual command
executions is a useful way to debug test scripts, but some tests
that capture the standard error stream and check what the command
said can be broken with the trace output mixed in. When running
our tests under "bash", however, we can redirect the trace output
to another file descriptor to keep the standard error of programs
being tested intact.
* jk/test-send-sh-x-trace-elsewhere:
test-lib: set BASH_XTRACEFD automatically
Diffstat (limited to 't/README')
-rw-r--r-- | t/README | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -84,9 +84,9 @@ appropriately before running "make". -x:: Turn on shell tracing (i.e., `set -x`) during the tests - themselves. Implies `--verbose`. Note that this can cause - failures in some tests which redirect and test the - output of shell functions. Use with caution. + themselves. Implies `--verbose`. Note that in non-bash shells, + this can cause failures in some tests which redirect and test + the output of shell functions. Use with caution. -d:: --debug:: |