cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Patches to make testing external proxies more convenient

From: Fabian Keil <freebsd-listen_at_fabiankeil.de>
Date: Fri, 25 Jul 2014 16:39:37 +0200

Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:

> Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:
>
> > Fabian Keil <freebsd-listen_at_fabiankeil.de> wrote:
> >
> > > Daniel Stenberg <daniel_at_haxx.se> wrote:
> > >
> > > > On Wed, 21 May 2014, Fabian Keil wrote:
> > > >
> > > > > I'm still doing that and would like to get the required runtests.pl changes
> > > > > upstream after making them more generic.
> > > >
> > > > Thanks for keeping it up Fabian. I'm in favor of making sure that the curl
> > > > test suite can be re-used for more purposes as I believe it can help improving
> > > > more code and it will help the test suite and thus it also improves curl
> > > > itself.
> > >
> > > Great. I'll look into making the patches more generic in the near feature.
> >
> > Attached are generic versions of the patches.
>
> Additional patches are attached.

Additionally attached (as tar.gz to preserve whitespace) are:

commit 3f73aebcacbdb8b30ee37fc1aff8769ff1321c5f
Author: Fabian Keil <fk_at_fabiankeil.de>
Date: Thu Jun 5 12:07:49 2014 +0200

    tests: Make sure the weekday in Date headers matches the date
    
    From curl's perspective this change is cosmetic, but it makes
    using the tests with proxies that regenerate the Date header
    more convenient.

commit 5f2d6ce7a7550b1b74b671b4d950c0fa214b73be
Author: Fabian Keil <fk_at_fabiankeil.de>
Date: Tue Jul 8 12:47:58 2014 +0200

    tests: Fix a couple of incomplete response lines

commit 2a87902488a4bce4bb936b92ac8736f6f0b8a988
Author: Fabian Keil <fk_at_fabiankeil.de>
Date: Tue Jul 8 12:38:14 2014 +0200

    tests: Consistently use no whitespace in front of tags belonging to the test
    
    This commit is (supposed to be) purely cosmetic.

commit 6fb9927eef93b7f4625d179526e25608b50547e8
Author: Fabian Keil <fk_at_fabiankeil.de>
Date: Wed May 28 15:09:05 2014 +0200

    test15: 'Downgrade' protocol version to 1.1
    
    The bogus HTTP version is unrelated to what is being tested
    and changing it to a valid one allows to use the test with
    proxies that reject responses with unsupported HTTP versions.

I also put my privoxy-tests branch on the web:
http://www.fabiankeil.de/sourcecode/privoxy/curl-test-changes.diff

The non-cosmetic patches have all already been posted in this
or other threads, though.

Fabian

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2014-07-25