From: Tarmigan <tarmigan+git@gmail.com>
To: "Shawn O. Pearce" <spearce@spearce.org>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 2/3] t5551-http-fetch: Work around some libcurl versions
Date: Mon, 9 Nov 2009 10:36:33 -0800 [thread overview]
Message-ID: <905315640911091036t21321a54u4a4c20d2b2034ad7@mail.gmail.com> (raw)
In-Reply-To: <1257790237-30850-2-git-send-email-spearce@spearce.org>
On Mon, Nov 9, 2009 at 10:10 AM, Shawn O. Pearce <spearce@spearce.org> wrote:
> 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.
Yes, my curl is 7.15.5.
> @@ -56,6 +52,8 @@ test_expect_success 'clone http repository' '
> sed -e "
> s/Q\$//
> /^[*] /d
> + /^$/d
> + /^< $/d
>
> /^[^><]/{
> s/^/> /
> @@ -64,6 +62,8 @@ test_expect_success 'clone http repository' '
> /^> User-Agent: /d
> /^> Host: /d
> s/^> Content-Length: .*/> Content-Length: xxx/
> + /^00..want /d
> + /^00.*done/d
Almost. This still needs a
'> '
before both of the 00 additions. Changing this and applying 3/3 makes
the test pass for me.
Tested-with-modifications-by: Tarmigan <tarmigan+git@gmail.com>
next prev parent reply other threads:[~2009-11-09 18:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-09 18:10 [PATCH 1/3] http-backend: Fix symbol clash on AIX 5.3 Shawn O. Pearce
2009-11-09 18:10 ` [PATCH 2/3] t5551-http-fetch: Work around some libcurl versions Shawn O. Pearce
2009-11-09 18:36 ` Tarmigan [this message]
2009-11-09 18:10 ` [RFC PATCH 3/3] t5551-http-fetch: Work around broken Accept header in libcurl Shawn O. Pearce
2009-11-09 18:37 ` Tarmigan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=905315640911091036t21321a54u4a4c20d2b2034ad7@mail.gmail.com \
--to=tarmigan+git@gmail.com \
--cc=git@vger.kernel.org \
--cc=spearce@spearce.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).