summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-05-08 10:00:36 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-05-08 10:00:36 -0700
commit16fefdc3ebbe509f3d4293bea3cbf2722c6e80aa (patch)
treef6dec1b939b64a8ca27c3c774441f890efdac331 /t
parentMerge branch 'km/avoid-cp-a' into maint (diff)
parenttest: fix t5560 on FreeBSD (diff)
downloadtgif-16fefdc3ebbe509f3d4293bea3cbf2722c6e80aa.tar.xz
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
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
}