more tr portability test script fixes
commita58938e010a3497e7534cf9da44cf48aea6bd50f
authorJeff King <peff@peff.net>
Wed, 12 Mar 2008 21:31:06 +0000 (12 17:31 -0400)
committerJeff King <peff@peff.net>
Thu, 13 Mar 2008 12:19:01 +0000 (13 08:19 -0400)
tree47df90b798248db532f42441187eec8c99b12ee1
parent9dcc94998c0e3e3cd445b9137085ee82a80d809d
more tr portability test script fixes

Dealing with NULs is not always safe with tr. On Solaris,
incoming NULs are silently deleted by both the System V and
UCB versions of tr. When converting to NULs, the System V
version works fine, but the UCB version silently ignores the
request to convert the character.

This patch changes all instances of tr using NULs to use
"perl -pe 'y///'" instead.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/diff-lib.sh
t/t0020-crlf.sh
t/t1300-repo-config.sh
t/t3300-funny-names.sh
t/t4020-diff-external.sh
t/t4103-apply-binary.sh
t/t4116-apply-reverse.sh
t/t4200-rerere.sh
t/t5300-pack-object.sh
test-sha1.sh