aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-04-12 15:50:55 -0700
committerJunio C Hamano <gitster@pobox.com>2011-04-13 15:52:47 -0700
commitc36f94123bb16d412fc0f7c49d655bfe4259c4b6 (patch)
treee7971fae1e5bf43986ecb9391fb8874ad1cb4bd9 /t
parent33d56fa0768951caec5217a6ed8b04cfbf1bce4e (diff)
downloadgit-c36f94123bb16d412fc0f7c49d655bfe4259c4b6.tar.gz
git-c36f94123bb16d412fc0f7c49d655bfe4259c4b6.tar.xz
i18n: use test_i18ncmp in t1200 and t2200
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t1200-tutorial.sh4
-rwxr-xr-xt/t2200-add-update.sh4
2 files changed, 4 insertions, 4 deletions
diff --git a/t/t1200-tutorial.sh b/t/t1200-tutorial.sh
index 3264fefba..5e29e1378 100755
--- a/t/t1200-tutorial.sh
+++ b/t/t1200-tutorial.sh
@@ -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
diff --git a/t/t2200-add-update.sh b/t/t2200-add-update.sh
index 856e7da1f..2d7d3115d 100755
--- a/t/t2200-add-update.sh
+++ b/t/t2200-add-update.sh
@@ -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
'