cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [patch] don't abort test suite when http(-ipv6) fails to start

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Thu, 15 Nov 2007 22:52:09 -0800

On Thu, Nov 15, 2007 at 11:44:19PM +0100, Michal Marek wrote:
> See attachment. Please note that I only tested on linux, I hope I'm not
> accidentally disabling IPv6 tests on other platforms. Also with the
> previous patch applied, this is just an optimization / cosmetic change
> ("don't scare the user with the word 'failed'" ;-)).
>
> Michal

> Check whether the system actually does support IPv6 in 'sws --version' and
> 'sockfilt --version'. Don't waste time trying to start the ftp-ipv6 or
> http-ipv6 server if they're not available.

The problem I see with this patch is that it's impossible to tell by running
the app whether it has been compiled with IPv6 support or not. There are
several ways to tell if the kernel can support IPv6 or not but only one to
tell if the test app supports it or not, and this patch effectively
removes that way.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-11-16