OSDN Git Service

i18n: use test_i18ncmp in t1200 and t2200
authorJunio C Hamano <gitster@pobox.com>
Tue, 12 Apr 2011 22:50:55 +0000 (15:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Apr 2011 22:52:47 +0000 (15:52 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1200-tutorial.sh
t/t2200-add-update.sh

index 3264fef..5e29e13 100755 (executable)
@@ -166,8 +166,8 @@ test_expect_success 'git resolve' '
                -e "s/^Fast[- ]forward /FASTFORWARD /" >resolve.output
 '
 
-test_expect_success C_LOCALE_OUTPUT 'git resolve output' '
-       test_cmp resolve.expect resolve.output
+test_expect_success 'git resolve output' '
+       test_i18ncmp resolve.expect resolve.output
 '
 
 cat > show-branch2.expect << EOF
index 856e7da..2d7d311 100755 (executable)
@@ -111,7 +111,7 @@ test_expect_success 'touch and then add explicitly' '
 
 '
 
-test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
+test_expect_success 'add -n -u should not add but just report' '
 
        (
                echo "add '\''check'\''" &&
@@ -124,7 +124,7 @@ test_expect_success C_LOCALE_OUTPUT 'add -n -u should not add but just report' '
        after=$(git ls-files -s check top) &&
 
        test "$before" = "$after" &&
-       test_cmp expect actual
+       test_i18ncmp expect actual
 
 '