USE="ipv6 ssl test* -ares -gnutls -idn -kerberos -krb4 -ldap" ... test 522...OK (302 out of 304, remaining: 00:01) test 523...OK (303 out of 304, remaining: 00:00) test 524...OK (304 out of 304, remaining: 00:00) TESTDONE: 279 tests out of 280 reported OK: 99% TESTFAIL: These test cases failed: 62 TESTDONE: 304 tests were considered during 200 seconds. TESTINFO: 24 tests were skipped due to these restraints: TESTINFO: "no stunnel" 8 times (300, 301, 302, 303, 304, 305, 306, 509) TESTINFO: "failed starting FTP-ipv6 server" 4 times (252, 253, 254, 255) TESTINFO: "rlimit problems" 1 times (518) TESTINFO: "failed starting IPv6 HTTP server" 4 times (240, 241, 242, 263) TESTINFO: "curl lacks idn support" 1 times (165) TESTINFO: "curl lacks netrc_debug support" 6 times (130, 131, 132, 133, 134, 257) make[1]: *** [quiet-test] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/curl-7.15.5/work/curl-7.15.5/tests' make: *** [test] Error 2 !!! ERROR: net-misc/curl-7.15.5 failed. Call stack: ebuild.sh, line 1614: Called dyn_test ebuild.sh, line 1026: Called qa_call 'src_test' environment, line 3300: Called src_test ebuild.sh, line 653: Called die !!! Make check failed. See above for details. !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/net-misc/curl-7.15.5/temp/build.log'.
Created attachment 109816 [details] emerge --info
dan@frog /var/tmp/portage/net-misc/curl-7.15.5/work/curl-7.15.5/tests $ ./runtests.pl -dklp 62 ********* System characteristics ******** * curl 7.15.5 (i686-pc-linux-gnu) * libcurl/7.15.5 GnuTLS/1.6.1 zlib/1.2.3 libidn/0.6.5 * Features: GSS-Negotiate IDN IPv6 Largefile SSL libz * Host: frog * System: Linux frog 2.6.19-gentoo-r4 #1 SMP PREEMPT Sun Jan 21 09:59:18 EST 2007 i686 AMD Athlon(tm) AuthenticAMD GNU/Linux * Server SSL: OFF * libcurl SSL: ON * libcurl debug: OFF * valgrind: OFF * HTTP IPv6 ON * FTP IPv6 ON * HTTP port: 8990 * FTP port: 8992 * FTP port 2: 8995 * HTTP IPv6 port: 8994 * FTP IPv6 port: 8996 * TFTP port: 8997 * SSL library: GnuTLS * Libtool lib: ON ***************************************** test 062...[HTTP, send cookies when using custom Host:] protocol FAILED: --- log/check-expected 2007-02-11 13:35:38.000000000 +1100 +++ log/check-generated 2007-02-11 13:35:38.000000000 +1100 @@ -1,5 +1,4 @@ GET /we/want/62 HTTP/1.1 Accept: */* -Cookie: test2=yes; test=yes Host: www.host.foo.com - abort tests TESTDONE: 0 tests out of 1 reported OK: 0% TESTFAIL: These test cases failed: 62 TESTDONE: 1 tests were considered during 3 seconds. dan@frog /var/tmp/portage/net-misc/curl-7.15.5/work/curl-7.15.5/tests $ more log/* :::::::::::::: log/check-expected :::::::::::::: GET /we/want/62 HTTP/1.1 Accept: */* Cookie: test2=yes; test=yes Host: www.host.foo.com :::::::::::::: log/check-generated :::::::::::::: GET /we/want/62 HTTP/1.1 Accept: */* Host: www.host.foo.com :::::::::::::: log/curl.log :::::::::::::: ../src/curl --output log/curl62.out --include -v --trace-time http://127.0.0.1:8990/we/want/62 -b log/jar62.txt -H "Host: www.host.foo.com" >>log/stdout62 2 >>log/stderr62 :::::::::::::: log/curl62.out :::::::::::::: HTTP/1.1 200 OK swsclose Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Type: text/html boo :::::::::::::: log/curlvererr.log :::::::::::::: :::::::::::::: log/curlverout.log :::::::::::::: curl 7.15.5 (i686-pc-linux-gnu) libcurl/7.15.5 GnuTLS/1.6.1 zlib/1.2.3 libidn/0.6.5 Protocols: tftp ftp telnet dict http file https ftps Features: GSS-Negotiate IDN IPv6 Largefile SSL libz :::::::::::::: log/jar62.txt :::::::::::::: # Netscape HTTP Cookie File # http://www.netscape.com/newsref/std/cookie_spec.html # This file was generated by libcurl! Edit at your own risk. .foo.com TRUE /we/want/ FALSE 1170327387 test yes .host.foo.com TRUE /we/want/ FALSE 1170327387 test2 yes .fake.host.foo.com TRUE /we/want/ FALSE 1170327387 test4 yes .foo.com TRUE /moo TRUE 0 test3 maybe :::::::::::::: log/server.input :::::::::::::: GET /we/want/62 HTTP/1.1 User-Agent: curl/7.15.5 (i686-pc-linux-gnu) libcurl/7.15.5 GnuTLS/1.6.1 zlib/1.2.3 libidn/0.6.5 Accept: */* Host: www.host.foo.com :::::::::::::: log/server.response :::::::::::::: HTTP/1.1 200 OK WE ROOLZ: 24959 HTTP/1.1 200 OK swsclose Date: Thu, 09 Nov 2010 14:49:00 GMT Content-Type: text/html boo :::::::::::::: log/stderr62 :::::::::::::: 13:35:38.330988 * About to connect() to 127.0.0.1 port 8990 13:35:38.331361 * Trying 127.0.0.1... connected 13:35:38.331993 * Connected to 127.0.0.1 (127.0.0.1) port 8990 13:35:38.333180 > GET /we/want/62 HTTP/1.1 13:35:38.333180 > User-Agent: curl/7.15.5 (i686-pc-linux-gnu) libcurl/7.15.5 GnuTLS/1.6.1 zlib/1.2.3 libidn/0.6.5 13:35:38.333180 > Accept: */* 13:35:38.333180 > Host: www.host.foo.com 13:35:38.333180 > 13:35:38.333560 < HTTP/1.1 200 OK swsclose 13:35:38.333678 < Date: Thu, 09 Nov 2010 14:49:00 GMT 13:35:38.333749 < Content-Type: text/html % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 4 0 4 0 0 274 0 --:--:-- --:--:-- --:--:-- 013:35:38.334937 * Connection #0 to host 127.0.0.1 left intact 13:35:38.335089 * Closing connection #0 :::::::::::::: log/stdout62 :::::::::::::: :::::::::::::: log/sws.log :::::::::::::: 13:35:36.079378 Running IPv4 version on port 8990 13:35:37.175059 ====> Client connect 13:35:37.175892 Got request: GET /verifiedserver HTTP/1.1 13:35:37.175987 Are-we-friendly question received 13:35:37.176150 Wrote request (164 bytes) input to log/server.input 13:35:37.176206 Send response number -2 part 0 13:35:37.176257 Identifying ourselves as friends 13:35:37.176396 Response sent (36 bytes) and written to log/server.response 13:35:37.176452 special request received, no persistancy 13:35:37.176503 ====> Client disconnect 13:35:38.331572 ====> Client connect 13:35:38.332233 Got request: GET /we/want/62 HTTP/1.1 13:35:38.332331 Requested test number 62 part 0 13:35:38.332605 Wrote request (162 bytes) input to log/server.input 13:35:38.332661 Send response number 62 part 0 13:35:38.332851 connection close instruction "swsclose" found in response 13:35:38.332946 Response sent (94 bytes) and written to log/server.response 13:35:38.333005 instructed to close connection after server-reply 13:35:38.333057 ====> Client disconnect :::::::::::::: log/verifiedserver :::::::::::::: WE ROOLZ: 24959 :::::::::::::: log/verifyhttp :::::::::::::: * About to connect() to 127.0.0.1 port 8990 * Trying 127.0.0.1... connected * Connected to 127.0.0.1 (127.0.0.1) port 8990 > GET /verifiedserver HTTP/1.1 > User-Agent: curl/7.15.5 (i686-pc-linux-gnu) libcurl/7.15.5 GnuTLS/1.6.1 zlib/1.2.3 libidn/0.6.5 > Host: 127.0.0.1:8990 > Accept: */* > < HTTP/1.1 200 OK * Connection #0 to host 127.0.0.1 left intact * Closing connection #0
test case is invalid as the cookie expire time in .foo.com TRUE /we/want/ FALSE 1170327387 test yes .host.foo.com TRUE /we/want/ FALSE 1170327387 test2 yes .fake.host.foo.com TRUE /we/want/ FALSE 1170327387 test4 has elapsed.
fixed in all versions. Reported upstream. Happy curling.