Fix tests under GETTEXT_POISON on relative dates

Use the i18n-specific test_i18ncmp in t/t0006-date.sh for relative dates tests. This issue was was introduced in v1.7.10-230-g7d29a: 7d29a i18n: mark relative dates for translation and been broken under GETTEXT_POISON=YesPlease since. Signed-off-by: Jiang Xin <worldhello.net@gmail.com> Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jiang Xin committed Aug 27, 2012 at 13:36 UTC 4fa7e1989f411b2c507ace390e84ecf3d1eeb424
1 file changed +1 -1
t/t0006-date.sh
+1 -1
@@ -11,7 +11,7 @@ check_show() {
11 echo "$t -> $2" >expect
12 test_expect_${3:-success} "relative date ($2)" "
13 test-date show $t >actual &&
14 - test_cmp expect actual
14 + test_i18ncmp expect actual
15 "
16 }
17