summaryrefslogtreecommitdiff
path: root/t/t8005-blame-i18n.sh
diff options
context:
space:
mode:
authorKarsten Blees <blees@dcon.de>2014-07-17 15:37:02 (GMT)
committerJunio C Hamano <gitster@pobox.com>2014-07-21 16:39:57 (GMT)
commit32f4cb6cee9295fe68211581fec22c546808b436 (patch)
treeb03ba921e085ea933d74ca223d6d67d2f13879db /t/t8005-blame-i18n.sh
parent480cd53014325865901c9adc3791446bfd4cf4f0 (diff)
downloadgit-32f4cb6cee9295fe68211581fec22c546808b436.zip
git-32f4cb6cee9295fe68211581fec22c546808b436.tar.gz
git-32f4cb6cee9295fe68211581fec22c546808b436.tar.bz2
MinGW: disable legacy encoding tests
On Windows, all native APIs are Unicode-based. It is impossible to pass legacy encoded byte arrays to a process via command line or environment variables. Disable the tests that try to do so. In t3901, most tests still work if we don't mess up the repository encoding in setup, so don't switch to ISO-8859-1 on MinGW. Note that i18n tests that do their encoding tricks via encoded files (such as t3900) are not affected by this. Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8005-blame-i18n.sh')
-rwxr-xr-xt/t8005-blame-i18n.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t8005-blame-i18n.sh b/t/t8005-blame-i18n.sh
index cb39055..a6e73d0 100755
--- a/t/t8005-blame-i18n.sh
+++ b/t/t8005-blame-i18n.sh
@@ -33,7 +33,7 @@ author $SJIS_NAME
summary $SJIS_MSG
EOF
-test_expect_success \
+test_expect_success NOT_MINGW \
'blame respects i18n.commitencoding' '
git blame --incremental file | \
egrep "^(author|summary) " > actual &&
@@ -49,7 +49,7 @@ author $EUC_JAPAN_NAME
summary $EUC_JAPAN_MSG
EOF
-test_expect_success \
+test_expect_success NOT_MINGW \
'blame respects i18n.logoutputencoding' '
git config i18n.logoutputencoding eucJP &&
git blame --incremental file | \
@@ -66,7 +66,7 @@ author $UTF8_NAME
summary $UTF8_MSG
EOF
-test_expect_success \
+test_expect_success NOT_MINGW \
'blame respects --encoding=UTF-8' '
git blame --incremental --encoding=UTF-8 file | \
egrep "^(author|summary) " > actual &&
@@ -82,7 +82,7 @@ author $UTF8_NAME
summary $UTF8_MSG
EOF
-test_expect_success \
+test_expect_success NOT_MINGW \
'blame respects --encoding=none' '
git blame --incremental --encoding=none file | \
egrep "^(author|summary) " > actual &&