i18n: make GETTEXT_POISON a runtime option
[gitweb.git] / t / t9902-completion.sh
index 175f83d7042a0fb9f093bc6f25e1d0b25ce548af..3c6b185b60891c164f56a638071873051420fdac 100755 (executable)
@@ -1697,7 +1697,8 @@ test_expect_success 'sourcing the completion script clears cached commands' '
        verbose test -z "$__git_all_commands"
 '
 
-test_expect_success !GETTEXT_POISON 'sourcing the completion script clears cached merge strategies' '
+test_expect_success 'sourcing the completion script clears cached merge strategies' '
+       GIT_TEST_GETTEXT_POISON= &&
        __git_compute_merge_strategies &&
        verbose test -n "$__git_merge_strategies" &&
        . "$GIT_BUILD_DIR/contrib/completion/git-completion.bash" &&