t4210: skip command-line encoding tests on mingw

On Windows the application command line is provided as unicode and in mingw-git we convert that to utf-8. So these tests that require a iso-8859-1 input are being subverted by the encoding transformations we perform and should be skipped. Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net> Signed-off-by: Stepan Kasal <kasal@ucw.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Pat Thoyts committed Jul 17, 2014 at 17:37 UTC 5212f91deb03056480cb01d60d27a107dc7cf680
1 file changed +2 -2
t/t4210-log-i18n.sh
+2 -2
@@ -34,7 +34,7 @@ test_expect_success 'log --grep searches in log output encoding (utf8)' '
34 test_cmp expect actual
35 '
36
37 -test_expect_success 'log --grep searches in log output encoding (latin1)' '
37 +test_expect_success NOT_MINGW 'log --grep searches in log output encoding (latin1)' '
38 cat >expect <<-\EOF &&
39 latin1
40 utf8
@@ -43,7 +43,7 @@ test_expect_success 'log --grep searches in log output encoding (latin1)' '
43 test_cmp expect actual
44 '
45
46 -test_expect_success 'log --grep does not find non-reencoded values (utf8)' '
46 +test_expect_success NOT_MINGW 'log --grep does not find non-reencoded values (utf8)' '
47 >expect &&
48 git log --encoding=utf8 --format=%s --grep=$latin1_e >actual &&
49 test_cmp expect actual