Skip to content

Commit b60e88c

Browse files
committed
t9902: disable test on the list of merge-strategies under GETTEXT_POISON
The code to learn the list of merge strategies from the output of "git merge -s help" forces C locale, so that it can notice the message shown to indicate where the list starts in the output. However, GETTEXT_POISON build corrupts its output even when run in the C locale, and we cannot expect this test to succeed. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 8b0eaa4 commit b60e88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t9902-completion.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ test_expect_success 'sourcing the completion script clears cached porcelain comm
15111511
verbose test -z "$__git_porcelain_commands"
15121512
'
15131513

1514-
test_expect_success 'sourcing the completion script clears cached merge strategies' '
1514+
test_expect_success !GETTEXT_POISON 'sourcing the completion script clears cached merge strategies' '
15151515
__git_compute_merge_strategies &&
15161516
verbose test -n "$__git_merge_strategies" &&
15171517
. "$GIT_BUILD_DIR/contrib/completion/git-completion.bash" &&

0 commit comments

Comments
 (0)