Merge branch 'jk/t5562-perl-path-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2018 14:13:41 +0000 (23:13 +0900)
committerJunio C Hamano <gitster@pobox.com>
Mon, 26 Nov 2018 14:13:42 +0000 (23:13 +0900)
Hotfix for test breakage on platforms whose Perl is not at
/usr/bin/perl

* jk/t5562-perl-path-fix:
t5562: fix perl path

t/t5562-http-backend-content-length.sh
t/t5562/invoke-with-content-length.pl [changed mode: 0755->0644]
index b24d8b05a498674612870a133e1a4fc4a37bd5d3..90d890d02fd8f5451d0d78d880f6698d11b22a3d 100755 (executable)
@@ -31,6 +31,7 @@ test_http_env() {
                PATH_TRANSLATED="$PWD/.git/git-$handler_type-pack" \
                GIT_HTTP_EXPORT_ALL=TRUE \
                REQUEST_METHOD=POST \
+               "$PERL_PATH" \
                "$TEST_DIRECTORY"/t5562/invoke-with-content-length.pl \
                    "$request_body" git http-backend >act.out 2>act.err
 }
old mode 100755 (executable)
new mode 100644 (file)
index 6c2aae7..0943474
@@ -1,4 +1,3 @@
-#!/usr/bin/perl
 use 5.008;
 use strict;
 use warnings;