t5510: skip tests under GETTEXT_POISON build
authorVasco Almeida <vascomalmeida@sapo.pt>
Tue, 26 Jul 2016 12:58:54 +0000 (12:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 26 Jul 2016 16:55:18 +0000 (09:55 -0700)
Skip tests when running under GETTEXT_POISON build and run them with
C_LOCALE_OUTPUT prerequisite.

These tests are irrelevant under GETTEXT_POISON because they test text
output alignment which GETTEXT_POISON turns useless.

Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5510-fetch.sh
index 603277655b5b44681ceab60bf4da5e02c54ee52e..6aa63b1e745ec2b5c744111cd28f283422800363 100755 (executable)
@@ -688,7 +688,7 @@ test_expect_success 'fetching with auto-gc does not lock up' '
        )
 '
 
-test_expect_success 'fetch aligned output' '
+test_expect_success C_LOCALE_OUTPUT 'fetch aligned output' '
        git clone . full-output &&
        test_commit looooooooooooong-tag &&
        (
@@ -703,7 +703,7 @@ test_expect_success 'fetch aligned output' '
        test_cmp expect actual
 '
 
-test_expect_success 'fetch compact output' '
+test_expect_success C_LOCALE_OUTPUT 'fetch compact output' '
        git clone . compact &&
        test_commit extraaa &&
        (