]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'jk/test-lint-forbid-when-finished-in-subshell'
authorJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2015 19:30:17 +0000 (12:30 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 5 Oct 2015 19:30:17 +0000 (12:30 -0700)
Because "test_when_finished" in our test framework queues the
clean-up tasks to be done in a shell variable, it should not be
used inside a subshell.  Add a mechanism to allow 'bash' to catch
such uses, and fix the ones that were found.

* jk/test-lint-forbid-when-finished-in-subshell:
  test-lib-functions: detect test_when_finished in subshell
  t7800: don't use test_config in a subshell
  test-lib-functions: support "test_config -C <dir> ..."
  t5801: don't use test_when_finished in a subshell
  t7610: don't use test_config in a subshell


Trivial merge