Fix tests under GETTEXT_POISON on parseopt
authorJiang Xin <worldhello.net@gmail.com>
Mon, 27 Aug 2012 05:36:55 +0000 (13:36 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2012 16:26:30 +0000 (09:26 -0700)
commit9a0013819ea541cfa1102292d1fdceb30352c2c3
tree00862b29ba21cb7f494a66d157c89856dc24fa1b
parentf7dc6a96435e050afbbdbdeffac481fea7ddb8af
Fix tests under GETTEXT_POISON on parseopt

Use the i18n-specific test functions in test scripts for parseopt tests.
This issue was was introduced in v1.7.10.1-488-g54e6d:

    54e6d i18n: parseopt: lookup help and argument translations when showing usage

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>
t/t0040-parse-options.sh
t/t1300-repo-config.sh
t/t1502-rev-parse-parseopt.sh
t/t2006-checkout-index-basic.sh
t/t2107-update-index-basic.sh
t/t3004-ls-files-basic.sh
t/t3200-branch.sh
t/t3501-revert-cherry-pick.sh
t/t4200-rerere.sh
t/t6500-gc.sh
t/t7600-merge.sh