Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 16fefdc

Browse files
committed
Merge branch 'km/avoid-bs-in-shell-glob' into maint
Some tests used shell constructs that did not work well on FreeBSD * km/avoid-bs-in-shell-glob: test: fix t5560 on FreeBSD
2 parents 73edc54 + ff7a1c6 commit 16fefdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/t5560-http-backend-noserver.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
99

1010
run_backend() {
1111
echo "$2" |
12-
QUERY_STRING="${1#*\?}" \
13-
PATH_TRANSLATED="$HTTPD_DOCUMENT_ROOT_PATH/${1%%\?*}" \
12+
QUERY_STRING="${1#*[?]}" \
13+
PATH_TRANSLATED="$HTTPD_DOCUMENT_ROOT_PATH/${1%%[?]*}" \
1414
git http-backend >act.out 2>act.err
1515
}
1616

0 commit comments

Comments
 (0)