t/t7508-status.sh: use test_i18ncmp

Change a i18n-specific comparison in t/t7508-status.sh to use
test_i18ncmp instead. This was introduced in v1.7.6.3~11^2 and has
been broken under GETTEXT_POISON=YesPlease since.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Ævar Arnfjörð Bjarmason 2011-11-05 17:28:43 +00:00 коммит произвёл Junio C Hamano
Родитель 475b3777bd
Коммит ca0f515d75
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -189,7 +189,7 @@ test_expect_success 'status with gitignore' '
# untracked # untracked
EOF EOF
git status --ignored >output && git status --ignored >output &&
test_cmp expect output test_i18ncmp expect output
' '
test_expect_success 'status with gitignore (nothing untracked)' ' test_expect_success 'status with gitignore (nothing untracked)' '
@ -247,7 +247,7 @@ test_expect_success 'status with gitignore (nothing untracked)' '
# untracked # untracked
EOF EOF
git status --ignored >output && git status --ignored >output &&
test_cmp expect output test_i18ncmp expect output
' '
rm -f .gitignore rm -f .gitignore