Fix tests under GETTEXT_POISON on pack-object
commit9aa98efca286f7e7795a30614d79f120d0cd786c
authorJiang Xin <worldhello.net@gmail.com>
Mon, 27 Aug 2012 05:36:53 +0000 (27 13:36 +0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Aug 2012 16:26:30 +0000 (27 09:26 -0700)
tree648f56551bb483d850d124f80ac5ac91a8e092b9
parent76638d90e88374f8b1396e4fce75a424260ba6da
Fix tests under GETTEXT_POISON on pack-object

Use the i18n-specific test functions in test scripts for pack-object.
This issue was was introduced in v1.7.10.2-556-g46140:

    46140 index-pack: use streaming interface for collision test on large blobs
    cf2ba pack-objects: use streaming interface for reading large loose blobs

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/t5300-pack-object.sh
t/t5530-upload-pack-error.sh