@matheusbsbs / matheus-bagliano / commits / 46e35a6cb9
Fork 0

Rename t3900 test vector file

It appears ISO-2022-JP is more widely accepted than ISO2022JP, so rename it that way. We probably would need to have a way to skip this test altogether in locale-challenged environments. Signed-off-by: Junio C Hamano <junkio@cox.net>

Junio C Hamano committed Dec 27, 2006 at 17:38 UTC 46e35a6cb9914ebb839249ecf2154c48b044c5cd
2 files changed +5 -5
t/t3900-i18n-commit.sh
+5 -5
@@ -26,7 +26,7 @@ test_expect_success 'no encoding header for base case' '
26 test z = "z$E"
27 '
28
29 -for H in ISO-8859-1 EUCJP ISO2022JP
29 +for H in ISO-8859-1 EUCJP ISO-2022-JP
30 do
31 test_expect_success "$H setup" '
32 git-repo-config i18n.commitencoding $H &&
@@ -36,7 +36,7 @@ do
36 '
37 done
38
39 -for H in ISO-8859-1 EUCJP ISO2022JP
39 +for H in ISO-8859-1 EUCJP ISO-2022-JP
40 do
41 test_expect_success "check encoding header for $H" '
42 E=$(git-cat-file commit '$H' | sed -ne "s/^encoding //p") &&
@@ -60,7 +60,7 @@ test_expect_success 'ISO-8859-1 should be shown in UTF-8 now' '
60 compare_with ISO-8859-1 ../t3900/1-UTF-8.txt
61 '
62
63 -for H in EUCJP ISO2022JP
63 +for H in EUCJP ISO-2022-JP
64 do
65 test_expect_success "$H should be shown in UTF-8 now" '
66 compare_with '$H' ../t3900/2-UTF-8.txt
@@ -78,7 +78,7 @@ test_expect_success 'repo-config to add customization' '
78 fi
79 '
80
81 -for H in ISO-8859-1 EUCJP ISO2022JP
81 +for H in ISO-8859-1 EUCJP ISO-2022-JP
82 do
83 test_expect_success "$H should be shown in itself now" '
84 git-repo-config i18n.commitencoding '$H' &&
@@ -94,7 +94,7 @@ test_expect_success 'ISO-8859-1 should be shown in UTF-8 now' '
94 compare_with ISO-8859-1 ../t3900/1-UTF-8.txt
95 '
96
97 -for H in EUCJP ISO2022JP
97 +for H in EUCJP ISO-2022-JP
98 do
99 test_expect_success "$H should be shown in UTF-8 now" '
100 compare_with '$H' ../t3900/2-UTF-8.txt
t/t3900/ISO-2022-JP.txt renamed