summaryrefslogtreecommitdiff
path: root/t/t9300-fast-import.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-09 16:01:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-09 16:01:52 (GMT)
commit967abba7169ad10eff841fe32b70f3e7a1126b63 (patch)
tree55a4ad3740e322b4dc47adb5c73d0888c07e74bc /t/t9300-fast-import.sh
parentee02c2ab379dd25451199938788212414bcdf156 (diff)
parentad78585eeebd8d5ac596ad4f06f549734ce9d870 (diff)
downloadgit-967abba7169ad10eff841fe32b70f3e7a1126b63.zip
git-967abba7169ad10eff841fe32b70f3e7a1126b63.tar.gz
git-967abba7169ad10eff841fe32b70f3e7a1126b63.tar.bz2
Merge branch 'vr/use-our-perl-in-tests'
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
Diffstat (limited to 't/t9300-fast-import.sh')
-rwxr-xr-xt/t9300-fast-import.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh
index c17f52e..2fcf269 100755
--- a/t/t9300-fast-import.sh
+++ b/t/t9300-fast-import.sh
@@ -12,7 +12,7 @@ test_description='test git fast-import utility'
# This could be written as "head -c $1", but IRIX "head" does not
# support the -c option.
head_c () {
- perl -e '
+ "$PERL_PATH" -e '
my $len = $ARGV[1];
while ($len > 0) {
my $s;