From: Junio C Hamano Date: Fri, 11 Dec 2015 19:14:09 +0000 (-0800) Subject: Merge branch 'jk/test-lint-forbid-when-finished-in-subshell' into maint X-Git-Tag: v2.7.0-rc1~7^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4cb5488fa6cd1dc3cea253e7d8df6bf9d945653b;p=thirdparty%2Fgit.git Merge branch 'jk/test-lint-forbid-when-finished-in-subshell' into maint 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 ..." t5801: don't use test_when_finished in a subshell t7610: don't use test_config in a subshell --- 4cb5488fa6cd1dc3cea253e7d8df6bf9d945653b