diff options
author | John Keeping <john@keeping.me.uk> | 2015-09-05 14:12:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-09-08 10:34:58 -0700 |
commit | 1a9a23e35c1ba75187ee600fb7a1f107a2fb1893 (patch) | |
tree | 6ca7bfbaa7933abb33964ce1d1e439563ed4d5c1 /t/t4018/cpp-struct-definition | |
parent | Merge branch 'ee/clean-test-fixes' into maint (diff) | |
download | tgif-1a9a23e35c1ba75187ee600fb7a1f107a2fb1893.tar.xz |
t7610: don't use test_config in a subshell
test_config uses test_when_finished to reset the configuration after the
test, but this does not work inside a subshell. This does not cause a
problem here because the first thing the next test does is to set this
config variable itself, but we are about to add a check that will
complain when test_when_finished is used in a subshell.
In this case, "subdir" not a submodule so test_config has the same
effect when run at the top level and can simply be moved out of the
subshell.
Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/cpp-struct-definition')
0 files changed, 0 insertions, 0 deletions