git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] i18n: fix GETTEXT_POISON=YesPlease breakages
@ 2011-11-05 17:28 Ævar Arnfjörð Bjarmason
  2011-11-05 17:28 ` [PATCH 1/2] t/t6030-bisect-porcelain.sh: use test_i18ngrep Ævar Arnfjörð Bjarmason
  2011-11-05 17:28 ` [PATCH 2/2] t/t7508-status.sh: use test_i18ncmp Ævar Arnfjörð Bjarmason
  0 siblings, 2 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-11-05 17:28 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Jon Seymour,
	Ævar Arnfjörð Bjarmason

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(-)

-- 
1.7.7

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] t/t6030-bisect-porcelain.sh: use test_i18ngrep
  2011-11-05 17:28 [PATCH 0/2] i18n: fix GETTEXT_POISON=YesPlease breakages Ævar Arnfjörð Bjarmason
@ 2011-11-05 17:28 ` Ævar Arnfjörð Bjarmason
  2011-11-05 17:28 ` [PATCH 2/2] t/t7508-status.sh: use test_i18ncmp Ævar Arnfjörð Bjarmason
  1 sibling, 0 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-11-05 17:28 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Jon Seymour,
	Ævar Arnfjörð Bjarmason

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 <avarab@gmail.com>
---
 t/t6030-bisect-porcelain.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/t6030-bisect-porcelain.sh b/t/t6030-bisect-porcelain.sh
index c6f1f9f..691e4a4 100755
--- a/t/t6030-bisect-porcelain.sh
+++ b/t/t6030-bisect-porcelain.sh
@@ -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' '
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] t/t7508-status.sh: use test_i18ncmp
  2011-11-05 17:28 [PATCH 0/2] i18n: fix GETTEXT_POISON=YesPlease breakages Ævar Arnfjörð Bjarmason
  2011-11-05 17:28 ` [PATCH 1/2] t/t6030-bisect-porcelain.sh: use test_i18ngrep Ævar Arnfjörð Bjarmason
@ 2011-11-05 17:28 ` Ævar Arnfjörð Bjarmason
  1 sibling, 0 replies; 3+ messages in thread
From: Ævar Arnfjörð Bjarmason @ 2011-11-05 17:28 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Jon Seymour,
	Ævar Arnfjörð Bjarmason

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>
---
 t/t7508-status.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/t/t7508-status.sh b/t/t7508-status.sh
index 905255a..fc57b13 100755
--- a/t/t7508-status.sh
+++ b/t/t7508-status.sh
@@ -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
-- 
1.7.7

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-05 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-05 17:28 [PATCH 0/2] i18n: fix GETTEXT_POISON=YesPlease breakages Ævar Arnfjörð Bjarmason
2011-11-05 17:28 ` [PATCH 1/2] t/t6030-bisect-porcelain.sh: use test_i18ngrep Ævar Arnfjörð Bjarmason
2011-11-05 17:28 ` [PATCH 2/2] t/t7508-status.sh: use test_i18ncmp Ævar Arnfjörð Bjarmason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).