summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-04-16 13:38:52 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-04-16 13:38:52 -0700
commit5b713d990d5dfea96ec76d30d77b23cc2197bcd0 (patch)
treed326334a4351162d457c16947df3621b7feb5323 /t
parentSync with 1.9.2 (diff)
parenttest: fix t5560 on FreeBSD (diff)
downloadtgif-5b713d990d5dfea96ec76d30d77b23cc2197bcd0.tar.xz
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
}