diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-04-16 13:38:52 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-04-16 13:38:52 -0700 |
commit | 5b713d990d5dfea96ec76d30d77b23cc2197bcd0 (patch) | |
tree | d326334a4351162d457c16947df3621b7feb5323 /t | |
parent | Sync with 1.9.2 (diff) | |
parent | test: fix t5560 on FreeBSD (diff) | |
download | tgif-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-x | t/t5560-http-backend-noserver.sh | 4 |
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 } |