Skip to content

Commit 8c8fad9

Browse files
peffgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 806b168 commit 8c8fad9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

t/t5562-http-backend-content-length.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ test_http_env() {
3131
PATH_TRANSLATED="$PWD/.git/git-$handler_type-pack" \
3232
GIT_HTTP_EXPORT_ALL=TRUE \
3333
REQUEST_METHOD=POST \
34+
"$PERL_PATH" \
3435
"$TEST_DIRECTORY"/t5562/invoke-with-content-length.pl \
3536
"$request_body" git http-backend >act.out 2>act.err
3637
}

t/t5562/invoke-with-content-length.pl

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/perl
21
use 5.008;
32
use strict;
43
use warnings;

0 commit comments

Comments
 (0)