cURL / Mailing Lists / curl-users / Single Mail

curl-users

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

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 11 Sep 2003 23:38:45 +0200 (CEST)

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.

2) We have multiple test cases already that use --proxy, adding --proxy ""
   will mess them up.

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.

-- 
 Daniel Stenberg -- curl: been grokking URLs since 1998
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
Received on 2003-09-11