i18n: fix GETTEXT_POISON=YesPlease breakages
cover i18n: fix GETTEXT_POISON=YesPlease breakages
This fixes things broken in the test suite under
GETTEXT_POISON=YesPlease.
Ævar Arnfjörð Bjarmason (2):
t/t6030-bisect-porcelain.sh: use test_i18ngrep
t/t7508-status.sh: use test_i18ncmp
t/t6030-bisect-porcelain.sh | 2 +- t/t7508-status.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
1.7.7
PATCH 1/2 t/t6030-bisect-porcelain.sh: use test_i18ngrep
Change a i18n-specific grep in t/t6030-bisect-porcelain.sh to use test_i18ngrep instead. This was introduced in v1.7.7.2~5^2~11 and has been broken under GETTEXT_POISON=YesPlease since.
Signed-off-by Ævar Arnfjörð Bjarmason <[email protected]>
--- t/t6030-bisect-porcelain.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
t/t6030-bisect-porcelain.sh +1 -1
@@ -164,7 +164,7 @@ test_expect_success 'bisect start: existing ".git/BISECT_START" not modified if cp .git/BISECT_START saved && test_must_fail git bisect start $HASH4 foo -- && 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_expect_success 'bisect start: no ".git/BISECT_START" if mistaken rev' '
Signature · 1 line
1.7.7
PATCH 2/2 t/t7508-status.sh: use test_i18ncmp
In reply to Ævar Arnfjörð BjarmasonChange 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 <[email protected]>
--- t/t7508-status.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
t/t7508-status.sh +2 -2
@@ -189,7 +189,7 @@ test_expect_success 'status with gitignore' ' # untracked EOF git status --ignored >output && - test_cmp expect output + test_i18ncmp expect output ' test_expect_success 'status with gitignore (nothing untracked)' '
@@ -247,7 +247,7 @@ test_expect_success 'status with gitignore (nothing untracked)' ' # untracked EOF git status --ignored >output && - test_cmp expect output + test_i18ncmp expect output ' rm -f .gitignore
Signature · 1 line
1.7.7