]> sjero.net Git - wget/blobdiff - tests/ChangeLog
Heed cookies from 401s.
[wget] / tests / ChangeLog
index 618e6563cb6176d6345290dc984be473fb3d14b2..9d367e84048fb9766651436b4ebdd1f55223c911 100644 (file)
@@ -1,3 +1,427 @@
+2009-08-27  Micah Cowan  <micah@cowan.name>
+
+       * run-px: Added Test-cookies.px, Test-cookies-401.px
+
+       * Test-cookies.px: Basic testing to make sure Wget doesn't send
+       cookies; no path/domain checking.
+
+       * Test-cookies.px: Test to make sure Wget heeds cookies when they
+       are sent with a 401 response (#26775).
+
+       * HTTPServer.pm (send_response): Don't try to substitute port in
+       response body, if there isn't one.
+       (verify_request_headers): Avoid uninitialized warning when an
+       expected header isn't provided by Wget.
+
+2009-07-27  Micah Cowan  <micah@cowan.name>
+
+       * Test-restrict-ascii.px: New.
+
+       * run-px: Added Test-restrict-ascii.px.
+
+2009-07-26  Micah Cowan  <micah@cowan.name>
+
+       * Test-ftp-iri.px, Test-ftp-iri-fallback.px,
+       Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
+       Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
+       replacing --locale with --local-encoding.
+       
+2009-07-07  Steven Schubiger  <stsc@member.fsf.org>
+
+       * Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
+       to EXTRA_DIST.
+
+2009-07-05  Micah Cowan  <micah@cowan.name>
+
+       * Test-meta-robots.px: Added.
+       
+       * run-px: Add Test-meta-robots.px to the list.
+
+2009-07-03  Micah Cowan  <micah@cowan.name>
+
+       * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
+       --iri=no --> --no-iri
+
+2009-07-01  Micah Cowan  <micah@cowan.name>
+
+       * HTTPServer.pm (send_response): Invocation of
+       verify_request_headers, to support testing of Wget-sent header
+       values.
+       (verify_request_headers): Added.
+
+       * Test-iri.px: Added verification checks for Referer values.
+
+2009-06-29  Micah Cowan  <micah@cowan.name>
+
+       * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
+       be skipped at user discretion.
+
+       * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
+       test for percent-coded value preservation, FTP recursion when IRI
+       support's on.
+
+2008-12-04  Micah Cowan  <micah@cowan.name> (not copyrightable)
+
+       * run-px, Test-idn-robots.px: Added test for robots-file
+       downloads.
+
+       * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
+       Fix test names.
+
+2008-11-26  Micah Cowan  <micah@cowan.name>  (not copyrightable)
+
+       * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
+       Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
+       Test-idn-meta.px, Test-iri-disabled.px,
+       Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
+       module-scope warnings.
+
+2009-06-14  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
+       certs/, to make distcheck happy.
+
+2009-06-11  Benjamin Wolsey <bwy@benjaminwolsey.de>
+
+       * Test-proxied-https-auth.px: Take an optional argument for the
+       top source directory, so we can find the cert and key.
+
+       * run-px: Provide the top source directory as an argument, so
+       scripts can find their way around.
+
+2009-04-11  Steven Schubiger  <stsc@member.fsf.org>
+
+       * run-px: Skip testing with real rc files by setting 
+       SYSTEM_WGETRC and WGETRC to /dev/null.
+
+2009-02-25  Benjamin Wolsey  <bwy@benjaminwolsey.de>
+
+       * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
+
+       * run-px: Include modules from srcdir.
+
+2008-11-25  Steven Schubiger  <stsc@members.fsf.org>
+
+       * WgetTest.pm.in: Remove the magic interpreter line;
+       replace -w with lexical warnings.
+
+2008-11-13  Steven Schubiger  <stsc@members.fsf.org>
+
+       * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
+       WgetTest.pm.in: Clean up leftover whitespace.
+
+2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
+
+       * Test-auth-basic.px, Test-auth-no-challenge.px,
+       Test-auth-no-challenge-url.px, Test-c-full.px,
+       Test-c-partial.px, Test-c.px, Test-c-shorter.px,
+       Test-E-k-K.px, Test-E-k.px, Test-ftp.px, 
+       Test-HTTP-Content-Disposition-1.px, 
+       Test-HTTP-Content-Disposition-2.px,
+       Test-HTTP-Content-Disposition.px, Test-N-current.px,
+       Test-N-HTTP-Content-Disposition.px,
+       Test-N--no-content-disposition.px,
+       Test-N--no-content-disposition-trivial.px,
+       Test-N-no-info.px, Test--no-content-disposition.px,
+       Test--no-content-disposition-trivial.px, Test-N-old.px,
+       Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
+       Test-N.px, Test-N-smaller.px, 
+       Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
+       Test-O--no-content-disposition.px, 
+       Test-O--no-content-disposition-trivial.px,
+       Test-O-nonexisting.px, Test-O.px,
+       Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
+       Test-Restrict-Uppercase.px,
+       Test--spider-fail.pxm, Test--spider.px,
+       Test--spider-r-HTTP-Content-Disposition.px,
+       Test--spider-r--no-content-disposition.px,
+       Test--spider-r--no-content-disposition-trivial.px,
+       Test--spider-r.px: Enforce lexically scoped warnings.
+
+       * Test-proxied-https-auth.px, run-px: Place use strict
+       before use warnings.
+
+2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
+
+       * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
+       Remove the magic interpreter line, because it cannot be
+       used fully. Substitute -w with use warnings.
+
+2008-11-11  Micah Cowan  <micah@cowan.name>
+
+       * HTTPServer.pm (handle_auth): Allow testing of
+       --auth-no-challenge.
+
+       * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
+       Added.
+
+       * run-px: Add Test-auth-no-challenge.px,
+       Test-auth-no-challenge-url.px.
+
+2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
+
+       * run-px: Use some colors for the summary part of the test
+       output to strengthen the distinction between a successful
+       or failing run.
+
+2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
+
+       * run-px: When executing test scripts, invoke them with the
+       current perl executable name as determined by env.
+
+2008-11-06  Micah Cowan  <micah@cowan.name>
+
+       * run-px: Use strict (thanks Steven Schubiger!).
+
+2008-09-09  Micah Cowan  <micah@cowan.name>
+
+       * Test-idn-cmd.px: Added.
+
+       * run-px: Added Test-idn-cmd.px.
+
+2008-08-28  Micah Cowan  <micah@cowan.name>
+
+       * HTTPServer.pm (run): Allow distinguishing between hostnames,
+       when used as a proxy.
+
+       * Test-idn-headers.px, Test-idn-meta.px: Added.
+
+       * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
+
+       * Test-proxy-auth-basic.px: Use the full URL, rather than just the
+       path (made necessary by the accompanying change to HTTPServer.pm).
+
+2008-08-14  Xavier Saint <wget@sxav.eu>
+       
+       * Test-iri-list.px : Fetch files from a remote list.
+
+2008-08-03  Xavier Saint <wget@sxav.eu>
+
+       * Test-iri.px : HTTP recursive fetch for testing IRI support and
+       fallback.
+
+       * Test-iri-disabled.px : Same file structure as Test-iri.px but with
+       IRI support disabled
+
+       * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
+       and ISO-8859-15 for character 0xA4 (respectively currency sign and
+       euro sign). So with a forced ISO-8859-1 remote encoding, wget should
+       see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
+       of using the ISO-8859-15 given by the server.
+
+       * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
+       and expect wget to fetch the file UTF-8 encoded.
+
+       * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
+       locale encoding to fetch the file.
+
+       * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
+       disabled. The UTF-8 encoded file should not be retrieved.
+
+2008-06-22  Micah Cowan  <micah@cowan.name>
+
+       * Test-proxied-https-auth.px: Shift exit code so it falls in the
+       lower bits, and actually fails when it should. Use dynamic port,
+       instead of static port. Only run the test if our Wget was built
+       with HTTPS support.
+
+       * certs/server-cert.pem, certs/server-key.pem: Apparently failed
+       to add these from 1.11.x repo. Fixed.
+
+2008-06-12  Micah Cowan  <micah@cowan.name>
+
+       * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
+       Test--no-content-disposition-trivial.px,
+       Test--no-content-disposition.px, Test--spider-fail.px,
+       Test--spider-r--no-content-disposition-trivial.px,
+       Test--spider-r--no-content-disposition.px,
+       Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
+       Test--spider.px, Test-E-k-K.px, Test-E-k.px,
+       Test-HTTP-Content-Disposition-1.px,
+       Test-HTTP-Content-Disposition-2.px,
+       Test-HTTP-Content-Disposition.px,
+       Test-N--no-content-disposition-trivial.px,
+       Test-N--no-content-disposition.px,
+       Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
+       Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
+       Test-O--no-content-disposition-trivial.px,
+       Test-O--no-content-disposition.px,
+       Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
+       Test-O.px, Test-Restrict-Lowercase.px,
+       Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
+       Test-c-partial.px, Test-c.px, Test-ftp.px,
+       Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
+       Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
+       WgetTest.pm.in: Use whatever ports are available, rather than
+       hard-coded ones.
+
+       * run-px: More summary info, explicit exit code.
+
+       * Makefile.am: Reinstate "run-px-tests" as a dependency for the
+       "check" target.
+
+       * WgetTest.pm.in: Draw more attention to the fact that
+       WgetTest.pm is a generated file.
+
+       * Test-proxied-https-auth.px: Better cleanup, so next test can
+       open the port.
+
+2008-05-31  Micah Cowan  <micah@cowan.name>
+
+       * Test-N-current.px: Ensure we catch failures.
+
+       * Test-N-old.px: Make it test only the timestamp, and not the
+       content length in addition.
+
+       * Test-N-smaller.px, Test-N-no-info.px: added.
+
+       * Test-c-partial.px: Improve checking that the file was
+       partially retrieved, rather than overwritten.
+
+       * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
+
+       * HTTPServer.pm: Return 416 for fully-retrieved content, rather
+       than 206 with a zero content-length.
+
+2008-05-23  Micah Cowan  <micah@cowan.name>
+
+       * Test--spider.px: Make test expect 0 return code.
+
+2008-05-22  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am (run-px-tests): Replaced ugly list of tests with
+       run-px Perl script to manage running them.
+       
+       * run-px: Added.
+
+       * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
+
+2008-04-26  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am, Test-proxied-https-auth.px: Added a test for
+       accessing password-protected HTTPS URLs through a proxy (via
+       CONNECT).
+
+2008-04-10  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am, Test-proxy-auth-basic.px: Added a test for
+       accessing password-protected URLs through a proxy.
+
+2008-01-25  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am: Updated copyright year.
+
+2008-01-23  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am: Add libmd5 to unit-tests.
+
+2007-11-28  Micah Cowan <micah@cowan.name>
+
+       * Makefile.am: Updated license exception for OpenSSL, per the
+       SFLC.
+
+2007-10-18  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.am: Add dependency for unit_tests on libgnu.a.
+
+2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * WgetTest.pm.in: wget is built in the build tree.  Use an
+       absolute path to the binary.
+       * Makefile.in: Removed, replaced by Makefile.am.
+       * Makefile.am: Converted from Makefile.in.
+
+2007-09-25  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.in: Use EXEEXT instead of exeext.
+
+2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * WgetTest.pm.in: Added support for timestamping of pre-existing
+       files.
+
+       * Test-N-current.px: Fixed broken test logic.
+
+       * Makefile.in: Updated list of automatically run tests.
+
+       * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
+       option, since now HTTP Content-Disposition header support is turned
+       off by default.
+
+       * Test-HTTP-Content-Disposition-1.px: Ditto.
+
+2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * Test--spider--no-content-disposition-trivial.px: Added new tests for
+       validation of HTTP Content-Disposition header support logic. In
+       particular, these tests check wget's behavior for every combination of
+       --spider [-r] and -e contentdisposition=on/off options.
+
+       * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
+
+       * Test--spider-HTTP-Content-Disposition.px: Ditto.
+
+       * Test--spider--no-content-disposition.px: Ditto.
+
+       * Test--spider-r--no-content-disposition-trivial.px: Ditto.
+
+       * Test--spider-r--no-content-disposition.px: Ditto.
+
+2007-07-25  Micah Cowan  <micah@cowan.name>
+
+       * HTTPServer.pm (run, send_response): Farmed out some logic from
+       the run method into a separate one named send_response, which
+       was then modified to handle simple authentication testing.
+       (handle_auth): Added to handle simple authentication testing.
+       (verify_auth_basic): Checks to make sure Basic credentials are
+       valid.
+       (verify_auth_digest): Stub added; always fails test.
+       * Makefile.in: Added Test-auth-basic.px to list of automatically
+       run tests.
+       * Test-auth-basic: Simple basic authentication test; mainly just
+       lets the server do its testing. Its current purpose is just to
+       ensure that correct basic creds are sent, but never until a
+       challenge has been sent.
+
+2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * Test--no-content-disposition.px: Added new tests for validation of
+       HTTP Content-Disposition header support logic. In particular, these
+       tests check wget's behavior for every combination of -N/-O and -e
+       contentdisposition=on/off options.
+
+       * Test--no-content-disposition-trivial.px: Ditto.
+
+       * Test-N-HTTP-Content-Disposition.px: Ditto.
+
+       * Test-N--no-content-disposition.px: Ditto.
+
+       * Test-N--no-content-disposition-trivial.px: Ditto.
+
+       * Test-O-HTTP-Content-Disposition.px: Ditto.
+
+       * Test-O--no-content-disposition.px: Ditto.
+
+       * Test-O--no-content-disposition-trivial.px: Ditto.
+
+2007-07-05  Micah Cowan  <micah@cowan.name>
+
+       * Makefile.in:
+       Updated GPL reference to version 3 or later, removed FSF
+       address.
+
+2007-06-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * FTPServer.pm: Added FTP testing support.
+
+       * FTPTest.pm: Ditto.
+
+       * Test-ftp.px: Ditto.
+
+2006-12-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
+
+       * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
+
 2006-11-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
 
        * Test-np.px: Added test for -np.