1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
wget/tests/ChangeLog

512 lines
15 KiB
Plaintext
Raw Normal View History

2008-12-04 16:57:18 -05:00
2008-12-04 Micah Cowan <micah@cowan.name> (not copyrightable)
* Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
Fix test names.
2008-11-26 10:14:27 -05:00
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.
2008-11-25 13:59:36 -05:00
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 16:54:49 -05:00
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 16:06:38 -05:00
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 18:01:25 -05:00
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 14:38:16 -05:00
2008-11-06 Micah Cowan <micah@cowan.name>
* run-px: Use strict (thanks Steven Schubiger!).
2008-09-10 00:55:02 -04:00
2008-09-09 Micah Cowan <micah@cowan.name>
* Test-idn-cmd.px: Added.
* run-px: Added Test-idn-cmd.px.
2008-08-28 05:45:29 -04:00
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.
2008-08-28 05:45:29 -04:00
* run-px: Added Test-idn-headers.px, Test-idn-meta.px.
2008-08-28 05:45:29 -04:00
* 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>
2008-06-12 05:18:35 -04:00
* 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.
2008-06-12 18:21:32 -04:00
* run-px: More summary info, explicit exit code.
2008-06-12 18:09:37 -04:00
* 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 15:48:23 -04:00
2008-05-31 Micah Cowan <micah@cowan.name>
* Test-N-current.px: Ensure we catch failures.
2008-05-31 15:56:12 -04:00
* Test-N-old.px: Make it test only the timestamp, and not the
content length in addition.
2008-05-31 21:17:45 -04:00
* Test-N-smaller.px, Test-N-no-info.px: added.
2008-05-31 21:17:45 -04:00
* Test-c-partial.px: Improve checking that the file was
partially retrieved, rather than overwritten.
2008-05-31 16:31:05 -04:00
* run-px: Added Test-N-smaller.px, Test-N-no-info.px.
2008-05-31 15:48:23 -04:00
* HTTPServer.pm: Return 416 for fully-retrieved content, rather
than 206 with a zero content-length.
2008-05-23 03:00:55 -04:00
2008-05-23 Micah Cowan <micah@cowan.name>
* Test--spider.px: Make test expect 0 return code.
2008-05-23 02:40:56 -04:00
2008-05-22 Micah Cowan <micah@cowan.name>
2008-05-23 02:49:05 -04:00
* Makefile.am (run-px-tests): Replaced ugly list of tests with
run-px Perl script to manage running them.
* run-px: Added.
2008-05-23 02:40:56 -04:00
* 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-11 00:35:27 -04:00
2008-04-10 Micah Cowan <micah@cowan.name>
* Makefile.am, Test-proxy-auth-basic.px: Added a test for
2008-04-11 00:35:27 -04:00
accessing password-protected URLs through a proxy.
2008-01-25 08:04:01 -05:00
2008-01-25 Micah Cowan <micah@cowan.name>
* Makefile.am: Updated copyright year.
2008-01-24 02:49:36 -05:00
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-19 01:16:08 -04:00
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-10-03 00:35:45 -04:00
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 12:05:59 -04:00
2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
* FTPServer.pm: Added FTP testing support.
* FTPTest.pm: Ditto.
* Test-ftp.px: Ditto.
2006-12-27 04:00:12 -05:00
2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
2006-11-10 06:06:24 -05:00
2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
* Test-np.px: Added test for -np.
* HTTPTest.pm: Ignore initial '/' character in requested URLs.
2006-10-12 12:18:57 -04:00
2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
* Test1.px: Renamed to Test-noop.px.
* Test-noop.px: Ditto.
* Test2.px: Renamed to Test-N.px.
* Test-N.px: Ditto.
* Test3.px: Renamed to Test-nonexisting-quiet.px.
* Test-nonexisting-quiet.px: Ditto.
* Test4.px: Renamed to Test-O-nonexisting.px.
* Test-O-nonexisting.px: Ditto.
* Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
* Test-HTTP-Content-Disposition.px: Ditto.
* Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
* Test-HTTP-Content-Disposition-1.px: Ditto.
* Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
* Test-HTTP-Content-Disposition-2.px: Ditto.
* Test8.px: Replaced by Test--spider-r.px.
* Test9.px: Renamed to Test-Restrict-Lowercase.px.
* Test-Restrict-Lowercase.px: Ditto.
* Test10.px: Renamed to Test-Restrict-Uppercase.px.
* Test-Restrict-Uppercase.px: Ditto.
* Test--spider.px: Added test for spider mode.
* Test--spider-fail.px: Added failing test for spider mode.
* Test--spider-r.px: Added test for recursive spider mode.
* Test-c.px: Added test for --continue mode.
* Test-c-full.px: Added test for --continue mode.
* Test-c-partial.px: Added test for --continue mode.
* Test-O.px: Added test for -O.
* Test-N-current.px: Added test for -N.
* Test-N-old.px: Added test for -N.
* Test-E-k.px: Added test for -E -k.
* Test-E-k-K.px: Added test for -E -k -K.
2006-08-17 06:23:31 -04:00
2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Added support for Range header.
2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
* Test4.px: Fixed wrong expected behaviour.
2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
* Test9.px: Added test for --restrict-file-names=lowercase option.
* Test10.px: Added test for --restrict-file-names=uppercase option.
2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Added synchronization between client and server
processes to prevent the test to start before the server is ready.
* HTTPTest.pm: Ditto.
* Test.pm: Ditto.
* Test1.px: Removed unneeded ../src/ from command line.
* Test2.px: Ditto.
* Test3.px: Ditto.
* Test4.px: Ditto.
* Test5.px: Ditto.
* Test6.px: Ditto.
* Test7.px: Ditto.
* Test8.px: Added test for recursive spider mode.
2006-05-26 08:55:34 -04:00
2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Fixed bug when returning 404. Improved logging.
* Test.pm: Added support for command lines which use an absolute path
for the Wget binary.
2006-04-28 09:22:33 -04:00
2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
* Test5.px: Added test for HTTP Content-Disposition support.
* Test6.px: Ditto.
* Test7.px: Ditto.
2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Serve index.html if no filename is given.
* Test.pm: Added support for pre-existing files.
2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Enhanced logging support.
* HTTPTest.pm: Updated to new test format.
* Test.pm: Improved test setup, verification and cleanup. Major
refactoring.
* Test1.px: Updated to new test format.
* Test2.px: Updated to new test format.
* Test3.px: Added new test for quiet download of nonexistent URL.
* Test4.px: Added new test for quiet download of nonexistent URL with
--output-document option.
2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
Removed the old run method and renamed the old run_daemon
method to run. Added support for partial
* Testing.pm: Renamed to HTTPTest.pm.
* HTTPTest.pm: Refactored as a subclass of Test. Renamed
Run_HTTP_Test to run, verify_download to _verify_download
and added support for timestamp checking.
* Test.pm: Added Test class as the super class of every
testcase.
* test1: Renamed to Test1.px.
* Test1.px: Refactored as an instance of the HTTPTest class.
* Test2.px: Added -N HTTP test.
2005-11-02 09:27:23 -05:00
2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
* HTTPServer.pm: Added basic support for HTTP testing.
* Testing.pm: Added basic support for feature testing (only HTTP
testing is supported at the moment).
* test1: Added basic HTTP test.