summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2015-10-05 12:30:17 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-10-05 12:30:17 -0700
commit416e2b3d4bcc4ba4b6dc8fafa954fcfdec4fc72d (patch)
tree57dd829a7e11c82fd121e5f67d2ec54483b3493f /t/test-lib.sh
parentMerge branch 'jk/interpret-trailers-outside-a-repository' (diff)
parenttest-lib-functions: detect test_when_finished in subshell (diff)
downloadtgif-416e2b3d4bcc4ba4b6dc8fafa954fcfdec4fc72d.tar.xz
Merge branch 'jk/test-lint-forbid-when-finished-in-subshell'
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
Diffstat (limited to 't/test-lib.sh')
0 files changed, 0 insertions, 0 deletions