t1510-repo-setup: mark as untraceable with '-x'

't1510-repo-setup.sh' checks the stderr of nested function calls way too many times, resulting in several failures when using '-x' tracing, unless it's executed with a Bash version supporting BASH_XTRACEFD. Maybe someday we will clear up this test script, but until then mark it as 'test_untraceable'. After this change make GIT_TEST_OPTS='-x --verbose-log' test finally fully passes without setting TEST_SHELL_PATH to Bash. Signed-off-by: SZEDER Gábor <szeder.dev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

SZEDER Gábor committed Feb 24, 2018 at 00:39 UTC 582750692883b505ccff9099138ce4ec18c3c6dc
1 file changed +4
t/t1510-repo-setup.sh
+4
@@ -39,6 +39,10 @@ A few rules for repo setup:
39 11. When user's cwd is outside worktree, cwd remains unchanged,
40 prefix is NULL.
41 "
42 +
43 +# This test heavily relies on the standard error of nested function calls.
44 +test_untraceable=UnfortunatelyYes
45 +
46 . ./test-lib.sh
47
48 here=$(pwd)