Merge branch 'ab/i18n-test-fix'

* ab/i18n-test-fix:
  t/t7508-status.sh: use test_i18ncmp
  t/t6030-bisect-porcelain.sh: use test_i18ngrep
This commit is contained in:
Junio C Hamano 2011-11-06 21:22:22 -08:00
Родитель 78c17b9943 ca0f515d75
Коммит 5ae0f68160
2 изменённых файлов: 3 добавлений и 3 удалений

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

@ -164,7 +164,7 @@ test_expect_success 'bisect start: existing ".git/BISECT_START" not modified if
cp .git/BISECT_START saved && cp .git/BISECT_START saved &&
test_must_fail git bisect start $HASH4 foo -- && test_must_fail git bisect start $HASH4 foo -- &&
git branch > branch.output && git branch > branch.output &&
grep "* (no branch)" branch.output > /dev/null && test_i18ngrep "* (no branch)" branch.output > /dev/null &&
test_cmp saved .git/BISECT_START test_cmp saved .git/BISECT_START
' '
test_expect_success 'bisect start: no ".git/BISECT_START" if mistaken rev' ' test_expect_success 'bisect start: no ".git/BISECT_START" if mistaken rev' '

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

@ -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