summaryrefslogtreecommitdiff
path: root/t/t5562-http-backend-content-length.sh
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-11-22 23:38:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-24 01:44:30 (GMT)
commit8c8fad9e4b4e82325508974d3aa9ebc90e79a035 (patch)
treee0cc6e4ff22160a323dded0ba463ebde641be5c9 /t/t5562-http-backend-content-length.sh
parent806b1687bb2e0d6159a5dbfd8834047a92ab9190 (diff)
downloadgit-8c8fad9e4b4e82325508974d3aa9ebc90e79a035.zip
git-8c8fad9e4b4e82325508974d3aa9ebc90e79a035.tar.gz
git-8c8fad9e4b4e82325508974d3aa9ebc90e79a035.tar.bz2
t5562: fix perl path
Some systems do not have perl installed to /usr/bin. Use the variable from the build settiings, and call perl directly than via shebang. Signed-off-by: Max Kirillov <max@max630.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5562-http-backend-content-length.sh')
-rwxr-xr-xt/t5562-http-backend-content-length.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/t5562-http-backend-content-length.sh b/t/t5562-http-backend-content-length.sh
index b24d8b0..90d890d 100755
--- a/t/t5562-http-backend-content-length.sh
+++ b/t/t5562-http-backend-content-length.sh
@@ -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
}