Commit 1962ebf8 authored by Dan Fandrich's avatar Dan Fandrich
Browse files

Updated the test harness to check for protocol support before running each

test, fixing KNOWN_BUGS #11.  Fixed some tests to more accurately specify
their required servers and features.
parent 7c144d5a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -6,6 +6,10 @@

                                  Changelog

Dan F (9 March 2007)
- Updated the test harness to check for protocol support before running each
  test, fixing KNOWN_BUGS #11.

Dan F (7 March 2007)
- Reintroduced (after a 3 year hiatus) an FTPS test case (400) into the test
  harness.  It is very limited as it supports only ftps:// URLs with
+0 −3
Original line number Diff line number Diff line
@@ -106,9 +106,6 @@ may have been fixed since this was written!
  acknowledged after the actual TCP connect (during the SOCKS "negotiate"
  phase).

11. Using configure --disable-[protocol] may cause 'make test' to fail for
  tests using the disabled protocol(s).

10. To get HTTP Negotiate authentication to work fine, you need to provide a
  (fake) user name (this concerns both curl and the lib) because the code
  wrongly only considers authentication if there's a user name provided.
+15 −1
Original line number Diff line number Diff line
@@ -117,7 +117,17 @@ pipe: [num] - tell the server to expect this many HTTP requests before

<server>
What server(s) this test case requires/uses:
'http' 'ftp', 'https', 'ftps', 'http-ipv6'. Give only one per line.

file
ftp
ftp-ipv6
ftps
http
http-ipv6
https
none

Give only one per line.  This subsection is mandatory.
</server>

<features>
@@ -134,6 +144,10 @@ libz
netrc_debug
OpenSSL
SSL

as well as each protocol that curl supports.  A protocol only needs to be
specified if it is different from the server (useful when the server
is 'none').
</features>

<killserver>
+3 −0
Original line number Diff line number Diff line
@@ -17,6 +17,9 @@ FAILURE
<server>
none
</server>
<features>
http
</features>
 <name>
attempt connect to non-listening socket
 </name>
+3 −0
Original line number Diff line number Diff line
@@ -16,6 +16,9 @@ FAILURE
<server>
none
</server>
<features>
http
</features>
 <name>
attempt connect to non-existing host name
 </name>
Loading