cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Fwd: Bug#210253: curl: clear http_proxy when running testsuite

From: Domenico Andreoli <cavok_at_filibusta.crema.unimi.it>
Date: Fri, 12 Sep 2003 21:17:00 +0200

On Thu, Sep 11, 2003 at 11:38:45PM +0200, Daniel Stenberg wrote:
> On Thu, 11 Sep 2003, Domenico Andreoli wrote:
>
> > after having thought at it a little more, i found that runtests.pl would be
> > better if --proxy "" be added to every curl invocation.
>
> I disagree. For these reasons:
>
> 1) Using --proxy "" to override a set environment variable is a test case in
> itself. As is using an environment variable instead of --proxy.
>
right

> 2) We have multiple test cases already that use --proxy, adding --proxy ""
> will mess them up.
>
but isn't considered the last option specified?

> 3) The test suite is better off using an as clean and controlled environment
> as possible anyway. We should switch off everything that affects curl, to
> switch them on one by one for specific test cases to verify their
> functionality.
>
are you saing that who runs the test suite must not have any environment
variable curl might use?

dom

-----[ Domenico Andreoli, aka cavok
 --[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-12