Merge branch 'jk/test-suite-tracing'
authorJunio C Hamano <gitster@pobox.com>
Fri, 5 Jan 2018 21:28:09 +0000 (13:28 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 5 Jan 2018 21:28:09 +0000 (13:28 -0800)
Assorted fixes around running tests with "-x" tracing option.

* jk/test-suite-tracing:
t/Makefile: introduce TEST_SHELL_PATH
test-lib: make "-x" work with "--verbose-log"
t5615: avoid re-using descriptor 4
test-lib: silence "-x" cleanup under bash

1  2 
Makefile
t/test-lib.sh
diff --cc Makefile
index 2a81ae22e92cc5a92507666340d340cef3c6b418,ed96453b5cdcc7924bab39096649946826bbec9f..bb5b7cdfb695ee7f15128d5885ea74a4e34f5b9b
+++ b/Makefile
@@@ -426,8 -426,9 +426,12 @@@ all:
  # to say "export LESS=FRX (and LV=-c) if the environment variable
  # LESS (and LV) is not set, respectively".
  #
+ # Define TEST_SHELL_PATH if you want to use a shell besides SHELL_PATH for
+ # running the test scripts (e.g., bash has better support for "set -x"
+ # tracing).
++#
 +# When cross-compiling, define HOST_CPU as the canonical name of the CPU on
 +# which the built Git will run (for instance "x86_64").
  
  GIT-VERSION-FILE: FORCE
        @$(SHELL_PATH) ./GIT-VERSION-GEN
diff --cc t/test-lib.sh
Simple merge