Re: [PATCH 3/3] test: fix t5560 on FreeBSD

2014-04-11 Thread Junio C Hamano
"Kyle J. McKay" writes: > Instead, we can use the [...] construct to defeat the special meaning > of the '?' character and match it exactly in a way that works for the > FreeBSD /bin/sh as well as other POSIX /bin/sh implementations. > > Changing the example like so: > > x='one?two?three' > echo

[PATCH 3/3] test: fix t5560 on FreeBSD

2014-04-11 Thread Kyle J. McKay
Since fd0a8c2e (first appearing in v1.7.0), the t/t5560-http-backend-noserver.sh test has used a backslash escape inside a ${} expansion in order to specify a literal '?' character. Unfortunately the FreeBSD /bin/sh does not interpret this correctly. In a POSIX compliant shell, the following: x=