Merge branch 'vr/use-our-perl-in-tests' into maint
commitbb3ed291a6cfd4ed58773f2158f3ae32baf066e0
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 19:59:56 +0000 (22 12:59 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 19:59:56 +0000 (22 12:59 -0700)
tree9d8281ef421c7ee7d71426954fd9c829e803d5b6
parent8d141a1d562abb31f27f599dbf6e10a6c06ed73e
parentad78585eeebd8d5ac596ad4f06f549734ce9d870
Merge branch 'vr/use-our-perl-in-tests' into maint

Some implementations of Perl terminates "lines" with CRLF even when
the script is operating on just a sequence of bytes.  Make sure to
use "$PERL_PATH", the version of Perl the user told Git to use, in
our tests to avoid unnecessary breakages in tests.

* vr/use-our-perl-in-tests:
  t/README: add a bit more Don'ts
  tests: enclose $PERL_PATH in double quotes
  t/test-lib.sh: export PERL_PATH for use in scripts
  t: Replace 'perl' by $PERL_PATH
t/t9300-fast-import.sh