curl-users
Re: `make test` very dependent on port 8999
Date: Fri, 20 Feb 2004 08:06:30 +0100 (CET)
On Thu, 19 Feb 2004, spage wrote:
> I had to modify runtests.pl to use a different value for $HOSTPORT since
> port 8999 is in use on my server (see
> http://curl.haxx.se/mail/archive-2004-02/0084.html). It seems an easy
> workaround that users can make...
>
> But I think many of the tests verify that the server's reply contains port
> 8999:
> Host: 127.0.0.1:8999
> so they fail.
>
> This isn't worth fixing, but it would be nice if
I actually think this _is_ worth fixing. It would basicly mean that we should
use the "subVariables" function more and use %HOSTPORT% instead of 8999 in
lots of places.
Then again, I would need help to fix this.
> b) tests/README mention that the tests assume some fixed port numbers.
I applied a slightly edited version of your patch, thanks!
> P.S. It's impressive that curl's authors wrote an HTTP server in the tests
> directory. I will convert my company's site to use it -- who needs a
> 14-server Apache cluster? :-)
Yeps, they're exactly equivalent! B-P
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-20