Skip to content
  • Vincent van Ravesteijn's avatar
    t: Replace 'perl' by $PERL_PATH · a3428205
    Vincent van Ravesteijn authored and Junio C Hamano's avatar Junio C Hamano committed
    
    
    GIT-BUILD-OPTIONS defines PERL_PATH to be used in the test suite. Only a
    few tests already actually use this variable when perl is needed. The
    other test just call 'perl' and it might happen that the wrong perl
    interpreter is used.
    
    This becomes problematic on Windows, when the perl interpreter that is
    compiled and installed on the Windows system is used, because this perl
    interpreter might introduce some unexpected LF->CRLF conversions.
    
    This patch makes sure that $PERL_PATH is used everywhere in the test suite
    and that the correct perl interpreter is used.
    
    Signed-off-by: default avatarVincent van Ravesteijn <vfr@lyx.org>
    Signed-off-by: default avatarJunio C Hamano <gitster@pobox.com>
    a3428205