t5551-http-fetch: Work around some libcurl versions
commit0a8fcbdca28f6c8dad3cac9aca48f866c84b0f11
authorShawn O. Pearce <spearce@spearce.org>
Mon, 9 Nov 2009 18:10:36 +0000 (9 10:10 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Nov 2009 00:40:49 +0000 (9 16:40 -0800)
tree67b25132f11ac8bba5a932bd9aa4c1242ca11e0a
parent34b6cb8bb032bd16f3d1c93a8417beb75e51ed29
t5551-http-fetch: Work around some libcurl versions

Some versions of libcurl report their output when GIT_CURL_VERBOSE
is set differently than other versions do.  At least one variant
(version unknown but likely pre-7.18.1) reports the POST payload to
stderr, and omits the blank line after each HTTP request/response.
We clip these lines out of the stderr output now before doing the
compare, so we aren't surprised by this trivial difference.

Reported-by: Tarmigan <tarmigan+git@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5551-http-fetch.sh