Skip to content

Commit 5b713d9

Browse files
committed
Merge branch 'km/avoid-bs-in-shell-glob'
Portability fix. * km/avoid-bs-in-shell-glob: test: fix t5560 on FreeBSD
2 parents 68773ac + ff7a1c6 commit 5b713d9

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)