t: use perl instead of "$PERL_PATH" where applicable
commit94221d22036f36e10680c0a1e7eafb4bceeb1248
authorJeff King <peff@peff.net>
Tue, 29 Oct 2013 01:23:03 +0000 (28 21:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Oct 2013 19:45:15 +0000 (29 12:45 -0700)
tree7dddfd50625aafbc99b3e6c8e9b824dceb4f1a2b
parenta0e0ec9f7dd2ad46459cf98b7465b007fb15258b
t: use perl instead of "$PERL_PATH" where applicable

As of the last commit, we can use "perl" instead of
"$PERL_PATH" when running tests, as the former is now a
function which uses the latter. As the shorter "perl" is
easier on the eyes, let's switch to using it everywhere.

This is not quite a mechanical s/$PERL_PATH/perl/
replacement, though. There are some places where we invoke
perl from a script we generate on the fly, and those scripts
do not have access to our internal shell functions. The
result can be double-checked by running:

  ln -s /bin/false bin-wrappers/perl
  make test

which continues to pass even after this patch.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
28 files changed:
t/gitweb-lib.sh
t/lib-git-svn.sh
t/lib-terminal.sh
t/t0202-gettext-perl.sh
t/t1010-mktree.sh
t/t3300-funny-names.sh
t/t4014-format-patch.sh
t/t4020-diff-external.sh
t/t4029-diff-trailing-space.sh
t/t4103-apply-binary.sh
t/t4116-apply-reverse.sh
t/t4200-rerere.sh
t/t5300-pack-object.sh
t/t5303-pack-corruption-resilience.sh
t/t5551-http-fetch.sh
t/t6011-rev-list-with-bad-commit.sh
t/t6013-rev-list-reverse-parents.sh
t/t7508-status.sh
t/t9129-git-svn-i18n-commitencoding.sh
t/t9137-git-svn-dcommit-clobber-series.sh
t/t9300-fast-import.sh
t/t9350-fast-export.sh
t/t9400-git-cvsserver-server.sh
t/t9401-git-cvsserver-crlf.sh
t/t9402-git-cvsserver-refs.sh
t/t9700-perl-git.sh
t/t9810-git-p4-rcs.sh
t/test-lib-functions.sh