summaryrefslogtreecommitdiff
path: root/t/README
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-05-17 21:38:36 (GMT)
commit372731810e06ce69c4752e27f0f4ed7f64b2019c (patch)
treeb7bbaa45c8c100d64b5a55462b1696f5aa7dd7c9 /t/README
parent848b99b14e5287b492f095ca1ca6bce270880015 (diff)
parentd88785e424aaf18aa3ca291c2299c599c000c6cb (diff)
downloadgit-372731810e06ce69c4752e27f0f4ed7f64b2019c.zip
git-372731810e06ce69c4752e27f0f4ed7f64b2019c.tar.gz
git-372731810e06ce69c4752e27f0f4ed7f64b2019c.tar.bz2
Merge branch 'jk/test-send-sh-x-trace-elsewhere'
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/README6
1 files changed, 3 insertions, 3 deletions
diff --git a/t/README b/t/README
index 1dc908e..76a0daa 100644
--- a/t/README
+++ b/t/README
@@ -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::