Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-04-17 00:38:52 +0400
committerJunio C Hamano <gitster@pobox.com>2014-04-17 00:38:52 +0400
commit5b713d990d5dfea96ec76d30d77b23cc2197bcd0 (patch)
treed326334a4351162d457c16947df3621b7feb5323 /t
parent68773ac915580e88016c34ce1269730382b501d4 (diff)
parentff7a1c677a88eda9a24489676052f0631a6b7fc8 (diff)
Merge branch 'km/avoid-bs-in-shell-glob'
Portability fix. * km/avoid-bs-in-shell-glob: test: fix t5560 on FreeBSD
Diffstat (limited to 't')
-rwxr-xr-xt/t5560-http-backend-noserver.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/t5560-http-backend-noserver.sh b/t/t5560-http-backend-noserver.sh
index 9be9ae3436..5abd11a563 100755
--- a/t/t5560-http-backend-noserver.sh
+++ b/t/t5560-http-backend-noserver.sh
@@ -9,8 +9,8 @@ test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
run_backend() {
echo "$2" |
- QUERY_STRING="${1#*\?}" \
- PATH_TRANSLATED="$HTTPD_DOCUMENT_ROOT_PATH/${1%%\?*}" \
+ QUERY_STRING="${1#*[?]}" \
+ PATH_TRANSLATED="$HTTPD_DOCUMENT_ROOT_PATH/${1%%[?]*}" \
git http-backend >act.out 2>act.err
}