Skip to content

Commit 5827506

Browse files
szedergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent d31f298 commit 5827506

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

t/t1510-repo-setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ A few rules for repo setup:
3939
11. When user's cwd is outside worktree, cwd remains unchanged,
4040
prefix is NULL.
4141
"
42+
43+
# This test heavily relies on the standard error of nested function calls.
44+
test_untraceable=UnfortunatelyYes
45+
4246
. ./test-lib.sh
4347

4448
here=$(pwd)

0 commit comments

Comments
 (0)