cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Michal Marek <mmarek_at_suse.cz>
Date: Thu, 15 Nov 2007 23:13:48 +0100

Hi,

when the http(-ipv6) server can't be started, the rest of the testsuite
breaks, instead of just skipping those tests that can't be run. the
attached patch fixes that.

Background: currently the testsuite breaks when building an IPv6-enabled
curl on a host that has no (runtime) IPv6 support (*). While running the
testsuite on such host might not make too much sense, it still shouldn't
fail because of the http-ipv6 tests. A next step is to detect such
system in the beginning and don't even try to start the http-ipv6 and
ftp-ipv6 servers. I'll send a separate patch later.

Michal

(*)
On Linux, try rm /lib/modules/`uname -r`/kernel/net/ipv6/ipv6.ko; reboot

Received on 2007-11-15