Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 5212f91

Browse files
patthoytsgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Stepan Kasal <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 32f4cb6 commit 5212f91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t4210-log-i18n.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ test_expect_success 'log --grep searches in log output encoding (utf8)' '
3434
test_cmp expect actual
3535
'
3636

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)' '
3838
cat >expect <<-\EOF &&
3939
latin1
4040
utf8
@@ -43,7 +43,7 @@ test_expect_success 'log --grep searches in log output encoding (latin1)' '
4343
test_cmp expect actual
4444
'
4545

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)' '
4747
>expect &&
4848
git log --encoding=utf8 --format=%s --grep=$latin1_e >actual &&
4949
test_cmp expect actual

0 commit comments

Comments
 (0)