1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00
wget/tests/ChangeLog
Yousong Zhou 701e407af5 Tests: fix TYPE and RETR command handling.
- FTPServer.pm's handling of TYPE command would ignore binary mode
   transfer request.
 - The FTP server would run into dead loop sending the same content
   forever.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2014-03-21 11:21:10 +01:00

949 lines
29 KiB
Plaintext

2014-02-13 Yousong Zhou <yszhou4tech@gmail.com>
* FTPServer.pm: Fix the handling of TYPE command and avoid endless
loop when doing binary mode RETR.
2014-01-23 Lars Wendler <polynomial-c@gentoo.org> (tiny change)
* Test--post-file.px: Do not fail when wget has no debug support.
2013-11-04 Darshit Shah <darnir@gmail.com>
* Makefile.am: Add new tests introduced in last commit to
EXTRA_DIST.
Reported by: Andrea Urbani <matfanjol@mail.com>
2013-10-17 Andrea Urbani <matfanjol@mail.com>
* FTPServer.pm (GetBehavior): new routine.
* FTPServer.pm (get_list): new parameter to skip hidden files
* Test-ftp-list-Multinet.px: Test LIST on a "UNIX MultiNet
Unix Emulation" system that returns an empty content when
"LIST -a" is requested (probably because no "-a" files
exist)
* Test-ftp-list-Unknown.px: Test LIST on a "Unknown ftp
service" system that returns an empty content when
"LIST -a" is requested (probably because no "-a" files
exist)
* Test-ftp-list-Unknown-a.px: Test LIST on a "Unknown ftp
service" system that recognises "LIST -a" as "give me the
-a file" and there is a "-a" file + other two files.
"LIST -a" will return only "-a", "LIST" all the three files.
* Test-ftp-list-Unknown-hidden.px: Test LIST on a "Unknown ftp
service" system that recognises "LIST -a" as an "UNIX Type:
L8" system (show me also the hidden files) and there is an
hidden file.
* Test-ftp-list-Unknown-list-a-fails.px: Test LIST on a
"Unknown ftp service" system that raises an error on
"LIST -a" command.
* Test-ftp-list-UNIX-hidden.px: Test LIST on a "UNIX Type:
L8" system that recognises "LIST -a" as "show me also the
hidden files" and there is an hidden file.
2013-10-10 Giuseppe Scrivano <gscrivan@redhat.com>
* Test-idn-robots-utf8.px: Remove -H.
* Test-idn-cmd.px: Likewise.
* Test-idn-cmd-utf8.px: Likewise.
Suggested by: Tim Ruehsen <tim.ruehsen@gmx.de>
2013-10-07 Tim Ruehsen <tim.ruehsen@gmx.de>
* Test-idn-robots.px: added punycoded and escaped URLs to follow
removed -H
2013-08-22 Tim Ruehsen <tim.ruehsen@gmx.de>
* Makefile.am (EXTRA_DIST): Add Test--httpsonly-r.px.
* run-px (tests): Likewise.
* Test--httpsonly-r.px: New file.
2013-03-12 Darshit Shah <darnir@gmail.com>
* Makefile.am (EXTRA_DIST): Add Test--post-file.px.
* run-px (tests): Likewise.
* Test--post-file.px: New file.
2012-11-09 Tim Ruehsen <tim.ruehsen@gmx.de>
* HTTPServer.pm: added check for must-not-match request-header
* Test-cookies.px: check cookie deletion and cookie domain matching
2012-06-16 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (EXTRA_DIST): Add Test-stdouterr.px.
* run-px (tests): Likewise.
* Test-stdouterr.px: New file.
2011-06-03 Merinov Nikolay <kim.roader@gmail.com>
* Test-idn-cmd-utf8.px: Added test for idn with utf-8 local encoding.
* Test-idn-robots-utf8.px: Added test for idn with utf-8 local encoding
and robots.txt file.
* Makefile.am, run-px: Add new tests.
2011-04-19 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME).
2011-04-04 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (LIBS): Remove @LIBSSL@ @W32LIBS@
2010-10-23 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last
component.
2010-09-12 Mike Frysinger <vapier@gentoo.org>
Fix some tests failures.
* Test-iri-forced-remote.px: Use --trust-server-names to the cmdline
variable.
* Test-iri-list.px: Likewise.
* Test-iri.px: Likewise.
2010-06-04 Giuseppe Scrivano <gscrivano@gnu.org>
* Test--no-content-disposition-trivial.px: Use /usr/bin/env to find the
perl interpreter.
* Test--no-content-disposition.px: Likewise.
* Test--spider-fail.px: Likewise.
* Test--spider-r--no-content-disposition-trivial.px: Likewise.
* Test--spider-r--no-content-disposition.px: Likewise.
* Test--spider-r-HTTP-Content-Disposition.px: Likewise.
* Test--spider-r.px: Likewise.
* Test--spider.px: Likewise.
* Test-E-k-K.px: Likewise.
* Test-E-k.px: Likewise.
* Test-HTTP-Content-Disposition-1.px: Likewise.
* Test-HTTP-Content-Disposition-2.px: Likewise.
* Test-HTTP-Content-Disposition.px: Likewise.
* Test-N--no-content-disposition-trivial.px: Likewise.
* Test-N--no-content-disposition.px: Likewise.
* Test-N-HTTP-Content-Disposition.px: Likewise.
* Test-N-current.px: Likewise.
* Test-N-no-info.px: Likewise.
* Test-N-old.px: Likewise.
* Test-N-smaller.px: Likewise.
* Test-N.px: Likewise.
* Test-O--no-content-disposition-trivial.px: Likewise.
* Test-O--no-content-disposition.px: Likewise.
* Test-O-HTTP-Content-Disposition.px: Likewise.
* Test-O-nc.px: Likewise.
* Test-O-nonexisting.px: Likewise.
* Test-O.px: Likewise.
* Test-Restrict-Lowercase.px: Likewise.
* Test-Restrict-Uppercase.px: Likewise.
* Test-auth-basic.px: Likewise.
* Test-auth-no-challenge-url.px: Likewise.
* Test-auth-no-challenge.px: Likewise.
* Test-auth-retcode.px: Likewise.
* Test-auth-with-content-disposition.px: Likewise.
* Test-c-full.px: Likewise.
* Test-c-partial.px: Likewise.
* Test-c-shorter.px: Likewise.
* Test-c.px: Likewise.
* Test-cookies-401.px: Likewise.
* Test-cookies.px: Likewise.
* Test-ftp-bad-list.px: Likewise.
* Test-ftp-iri-disabled.px: Likewise.
* Test-ftp-iri-fallback.px: Likewise.
* Test-ftp-iri-recursive.px: Likewise.
* Test-ftp-iri.px: Likewise.
* Test-ftp-pasv-fail.px: Likewise.
* Test-ftp-recursive.px: Likewise.
* Test-ftp.px: Likewise.
* Test-i-ftp.px: Likewise.
* Test-i-http.px: Likewise.
* Test-idn-cmd.px: Likewise.
* Test-idn-headers.px: Likewise.
* Test-idn-meta.px: Likewise.
* Test-idn-robots.px: Likewise.
* Test-iri-disabled.px: Likewise.
* Test-iri-forced-remote.px: Likewise.
* Test-iri-list.px: Likewise.
* Test-iri-percent.px: Likewise.
* Test-iri.px: Likewise.
* Test-k.px: Likewise.
* Test-meta-robots.px: Likewise.
* Test-nonexisting-quiet.px: Likewise.
* Test-noop.px: Likewise.
* Test-np.px: Likewise.
* Test-proxied-https-auth.px: Likewise.
* Test-proxy-auth-basic.px: Likewise.
* Test-restrict-ascii.px: Likewise.
Reported by sci-fi@hush.ai.
2010-05-29 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (EXTRA_DIST): Add Test-auth-retcode.px.
* run-px (tests): Likewise.
* Test-auth-retcode.px: New file.
2010-05-16 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (../md5/libmd5.a): Remove rule.
(LDADD): Remove MD5_LDADD.
2010-05-08 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am: Update copyright years.
2010-05-07 Giuseppe Scrivano <gscrivano@gnu.org>
* Makefile.am (LIBS): Add definition.
(LDADD): Add LIBS.
2010-03-01 Steven Schubiger <stsc@member.fsf.org>
* Test-i-ftp.px: Test --input-file in conjunction with FTP.
* run-px, Makefile.am (EXTRA_DIST): Added Test-i-ftp.px.
2010-02-26 Steven Schubiger <stsc@member.fsf.org>
* Test-i-http.px: Test --input-file in conjunction with HTTP.
* run-px, Makefile.am (EXTRA_DIST): Added Test-i-http.px.
2010-02-25 Steven Schubiger <stsc@member.fsf.org>
* FTPServer.pm (FTPServer::new): Substitute port placeholders
in content of files to be retrieved via FTP.
2009-10-14 Steven Schubiger <stsc@member.fsf.org>
* Test-E-k-K.px, Test-cookies-401.px, Test-ftp-bad-list.px,
Test-iri-list.px, Test-iri.px: Removed -d from invocation.
Patch by Mike Frysinger.
2009-09-27 Micah Cowan <micah@cowan.name>
* Test-idn-cmd.px, Test-idn-headers.px, Test-idn-meta.px,
Test-idn-robots.px, Test-proxy-auth-basic.px: Removed --debug from
invocation (in case it wasn't built with --debug support).
2009-09-24 Micah Cowan <micah@cowan.name>
* Test-ftp-iri-disabled.px: Fix name "Test-ftp-iri" ->
"test-ftp-iri-disabled"
* Test-ftp-iri-fallback.px: Fix name "Test-ftp-iri" ->
"test-ftp-iri-fallback"
2009-09-07 Micah Cowan <micah@cowan.name>
* run-px: Exit with a failure if there were any tests with
"unknown" exit statuses.
* Test-auth-with-content-disposition.px: New. Test Content-Disposition
support when HTTP authentication is required.
* run-px, Makefile.am (EXTRA_DIST): Added
Test-auth-with-content-disposition.px.
* FTPServer.pm (FTPServer::run): Pass "server behavior" information to
newly-constructed FTPPaths object.
(FTPPaths::initialize): Accept "server behavior" hash.
(FTPPaths::_format_for_list): If server behavior has "bad_list"
set, then always report 0 for the size.
* Test-ftp-bad-list.px: Added. Attempts to reproduce bug
22403... but doesn't.
* run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-bad-list.px.
2009-09-06 Micah Cowan <micah@cowan.name>
* WgetTest.pm.in (_setup): Don't expect error codes from
_setup_server; none are returned.
(quotechar, _show_diff): Added facilities for expounding on where
output didn't match expectations.
(_verify_download): Use _show_diff.
* FTPTest.pm (_setup_server): Pass value of server_behavior to
FTPServer initialization.
* Test-ftp-pasv-fail.px: Added.
* run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-pasv-fail.px.
* WgetTest.pm.in: Added "server_behavior" to the set of accepted
initialization values.
* FTPServer.pm (__open_data_connection): Add "server_behavior" to
the set of accepted initialization values.
(run): Honor the 'fail_on_pasv' server behavior setting, to
trigger the Wget getftp glitch.
2009-09-05 Micah Cowan <micah@cowan.name>
* Test-ftp-recursive.px: Added.
* run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-recursive.px.
* FTPTest.pm (_setup_server): Don't construct the "input"
directory's contents, just pass the URLs structure to
FTPServer->new.
* FTPServer.pm: Rewrote portions, so that the server now uses the
information from the %urls hash directly, rather than reading from
real files. Added an FTPPaths package to the file.
2009-09-04 Micah Cowan <micah@cowan.name>
* WgetTest.pm.in (run): Error-checking improvements.
2009-09-05 Steven Schubiger <stsc@member.fsf.org>
* run-px: Introduce two new diagnostics: Skip and Unknown.
* WgetFeature.pm (import): Parse the version output of Wget
and assert the availability of a feature.
* WgetFeature.cfg: Messages to be printed in absence of a
required feature.
* Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
Test-ftp-iri-recursive.px, Test-ftp-iri.px, Test-idn-cmd.px,
Test-idn-headers.px, Test-idn-meta.px, Test-idn-robots.px,
Test-iri-forced-remote.px, Test-iri-list.px,
Test-iri-percent.px, Test-iri.px: Use WgetFeature.pm to
check for the presence of the IDN/IRI feature.
* Test-proxied-https-auth.px: Replace grepping for a feature
with loading WgetFeature.pm at compile-time.
* Makefile.am: Add WgetFeature.pm and WgetFeature.cfg
to EXTRA_DIST.
2009-09-02 Micah Cowan <micah@cowan.name>
* Makefile.am (unit-tests): explicit dependency is
unnecessary (and harmful, as it overrides the automatic one).
2009-09-01 Micah Cowan <micah@cowan.name>
* Makefile.am (../src/libunittest.a): Make it a phony target,
so we always make sure to get up-to-date unit-test runs.
2009-09-01 Steven Schubiger <stsc@member.fsf.org>
* Makefile.am: Add Test-cookies.px, Test-cookies-401.px
and Test-restrict-ascii.px to EXTRA_DIST.
2009-08-31 Steven Schubiger <stsc@member.fsf.org>
* Makefile.am: Add Test-k.px to EXTRA_DIST.
2009-08-29 Steven Schubiger <stsc@member.fsf.org>
* run-px: Add Test-k.px to the list.
* Test-k.px: Test escaping of semicolons in local file strings.
2009-08-27 Micah Cowan <micah@cowan.name>
* WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
* Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
Test--spider-r--no-content-disposition-trivial.px,
Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
Test-O-nonexisting.px, Test-cookies-401.px,
Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
exit codes have changed.
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.
* HTTPTest.pm: Ignore initial '/' character in requested URLs.
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 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 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 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 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.