Skip to content
Commits on Mar 13, 2008
  1. @peff @gitster

    more tr portability test script fixes

    peff committed with gitster
    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 <>
    Signed-off-by: Junio C Hamano <>
Commits on Dec 18, 2007
  1. @Tux @gitster

    the use of 'tr' in the test suite isn't really portable

    Tux committed with gitster
    Some versions of 'tr' only accept octal codes if entered with three digits,
    and therefor misinterpret the '\0' in the test suite.
    Some versions of 'tr' reject the (needless) use of character classes.
    Signed-off-by: H.Merijn Brand <>
    Signed-off-by: Junio C Hamano <>
Commits on Jun 24, 2006
  1. test-sha1: test hashing large buffer

    Junio C Hamano committed
    test to hash a large buffer in one go is more important than
    hashing large amount of data in small fixed chunks.
    Signed-off-by: Junio C Hamano <>
  2. Makefile: add framework to verify and bench sha1 implementations.

    Junio C Hamano committed
    Signed-off-by: Junio C Hamano <>
Something went wrong with that request. Please try again.