1 2009-07-05 Micah Cowan <micah@cowan.name>
3 * Test-meta-robots.px: Added.
5 * run-px: Add Test-meta-robots.px to the list.
7 2009-07-03 Micah Cowan <micah@cowan.name>
9 * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
12 2009-07-01 Micah Cowan <micah@cowan.name>
14 * HTTPServer.pm (send_response): Invocation of
15 verify_request_headers, to support testing of Wget-sent header
17 (verify_request_headers): Added.
19 * Test-iri.px: Added verification checks for Referer values.
21 2009-06-29 Micah Cowan <micah@cowan.name>
23 * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
24 be skipped at user discretion.
26 * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
27 test for percent-coded value preservation, FTP recursion when IRI
30 2008-12-04 Micah Cowan <micah@cowan.name> (not copyrightable)
32 * run-px, Test-idn-robots.px: Added test for robots-file
35 * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
38 2008-11-26 Micah Cowan <micah@cowan.name> (not copyrightable)
40 * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
41 Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
42 Test-idn-meta.px, Test-iri-disabled.px,
43 Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
44 module-scope warnings.
46 2009-06-14 Micah Cowan <micah@cowan.name>
48 * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
49 certs/, to make distcheck happy.
51 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
53 * Test-proxied-https-auth.px: Take an optional argument for the
54 top source directory, so we can find the cert and key.
56 * run-px: Provide the top source directory as an argument, so
57 scripts can find their way around.
59 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
61 * run-px: Skip testing with real rc files by setting
62 SYSTEM_WGETRC and WGETRC to /dev/null.
64 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
66 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
68 * run-px: Include modules from srcdir.
70 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
72 * WgetTest.pm.in: Remove the magic interpreter line;
73 replace -w with lexical warnings.
75 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
77 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
78 WgetTest.pm.in: Clean up leftover whitespace.
80 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
82 * Test-auth-basic.px, Test-auth-no-challenge.px,
83 Test-auth-no-challenge-url.px, Test-c-full.px,
84 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
85 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
86 Test-HTTP-Content-Disposition-1.px,
87 Test-HTTP-Content-Disposition-2.px,
88 Test-HTTP-Content-Disposition.px, Test-N-current.px,
89 Test-N-HTTP-Content-Disposition.px,
90 Test-N--no-content-disposition.px,
91 Test-N--no-content-disposition-trivial.px,
92 Test-N-no-info.px, Test--no-content-disposition.px,
93 Test--no-content-disposition-trivial.px, Test-N-old.px,
94 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
95 Test-N.px, Test-N-smaller.px,
96 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
97 Test-O--no-content-disposition.px,
98 Test-O--no-content-disposition-trivial.px,
99 Test-O-nonexisting.px, Test-O.px,
100 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
101 Test-Restrict-Uppercase.px,
102 Test--spider-fail.pxm, Test--spider.px,
103 Test--spider-r-HTTP-Content-Disposition.px,
104 Test--spider-r--no-content-disposition.px,
105 Test--spider-r--no-content-disposition-trivial.px,
106 Test--spider-r.px: Enforce lexically scoped warnings.
108 * Test-proxied-https-auth.px, run-px: Place use strict
111 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
113 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
114 Remove the magic interpreter line, because it cannot be
115 used fully. Substitute -w with use warnings.
117 2008-11-11 Micah Cowan <micah@cowan.name>
119 * HTTPServer.pm (handle_auth): Allow testing of
122 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
125 * run-px: Add Test-auth-no-challenge.px,
126 Test-auth-no-challenge-url.px.
128 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
130 * run-px: Use some colors for the summary part of the test
131 output to strengthen the distinction between a successful
134 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
136 * run-px: When executing test scripts, invoke them with the
137 current perl executable name as determined by env.
139 2008-11-06 Micah Cowan <micah@cowan.name>
141 * run-px: Use strict (thanks Steven Schubiger!).
143 2008-09-09 Micah Cowan <micah@cowan.name>
145 * Test-idn-cmd.px: Added.
147 * run-px: Added Test-idn-cmd.px.
149 2008-08-28 Micah Cowan <micah@cowan.name>
151 * HTTPServer.pm (run): Allow distinguishing between hostnames,
152 when used as a proxy.
154 * Test-idn-headers.px, Test-idn-meta.px: Added.
156 * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
158 * Test-proxy-auth-basic.px: Use the full URL, rather than just the
159 path (made necessary by the accompanying change to HTTPServer.pm).
161 2008-08-14 Xavier Saint <wget@sxav.eu>
163 * Test-iri-list.px : Fetch files from a remote list.
165 2008-08-03 Xavier Saint <wget@sxav.eu>
167 * Test-iri.px : HTTP recursive fetch for testing IRI support and
170 * Test-iri-disabled.px : Same file structure as Test-iri.px but with
173 * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
174 and ISO-8859-15 for character 0xA4 (respectively currency sign and
175 euro sign). So with a forced ISO-8859-1 remote encoding, wget should
176 see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
177 of using the ISO-8859-15 given by the server.
179 * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
180 and expect wget to fetch the file UTF-8 encoded.
182 * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
183 locale encoding to fetch the file.
185 * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
186 disabled. The UTF-8 encoded file should not be retrieved.
188 2008-06-22 Micah Cowan <micah@cowan.name>
190 * Test-proxied-https-auth.px: Shift exit code so it falls in the
191 lower bits, and actually fails when it should. Use dynamic port,
192 instead of static port. Only run the test if our Wget was built
195 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
196 to add these from 1.11.x repo. Fixed.
198 2008-06-12 Micah Cowan <micah@cowan.name>
200 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
201 Test--no-content-disposition-trivial.px,
202 Test--no-content-disposition.px, Test--spider-fail.px,
203 Test--spider-r--no-content-disposition-trivial.px,
204 Test--spider-r--no-content-disposition.px,
205 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
206 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
207 Test-HTTP-Content-Disposition-1.px,
208 Test-HTTP-Content-Disposition-2.px,
209 Test-HTTP-Content-Disposition.px,
210 Test-N--no-content-disposition-trivial.px,
211 Test-N--no-content-disposition.px,
212 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
213 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
214 Test-O--no-content-disposition-trivial.px,
215 Test-O--no-content-disposition.px,
216 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
217 Test-O.px, Test-Restrict-Lowercase.px,
218 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
219 Test-c-partial.px, Test-c.px, Test-ftp.px,
220 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
221 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
222 WgetTest.pm.in: Use whatever ports are available, rather than
225 * run-px: More summary info, explicit exit code.
227 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
230 * WgetTest.pm.in: Draw more attention to the fact that
231 WgetTest.pm is a generated file.
233 * Test-proxied-https-auth.px: Better cleanup, so next test can
236 2008-05-31 Micah Cowan <micah@cowan.name>
238 * Test-N-current.px: Ensure we catch failures.
240 * Test-N-old.px: Make it test only the timestamp, and not the
241 content length in addition.
243 * Test-N-smaller.px, Test-N-no-info.px: added.
245 * Test-c-partial.px: Improve checking that the file was
246 partially retrieved, rather than overwritten.
248 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
250 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
251 than 206 with a zero content-length.
253 2008-05-23 Micah Cowan <micah@cowan.name>
255 * Test--spider.px: Make test expect 0 return code.
257 2008-05-22 Micah Cowan <micah@cowan.name>
259 * Makefile.am (run-px-tests): Replaced ugly list of tests with
260 run-px Perl script to manage running them.
264 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
266 2008-04-26 Micah Cowan <micah@cowan.name>
268 * Makefile.am, Test-proxied-https-auth.px: Added a test for
269 accessing password-protected HTTPS URLs through a proxy (via
272 2008-04-10 Micah Cowan <micah@cowan.name>
274 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
275 accessing password-protected URLs through a proxy.
277 2008-01-25 Micah Cowan <micah@cowan.name>
279 * Makefile.am: Updated copyright year.
281 2008-01-23 Micah Cowan <micah@cowan.name>
283 * Makefile.am: Add libmd5 to unit-tests.
285 2007-11-28 Micah Cowan <micah@cowan.name>
287 * Makefile.am: Updated license exception for OpenSSL, per the
290 2007-10-18 Micah Cowan <micah@cowan.name>
292 * Makefile.am: Add dependency for unit_tests on libgnu.a.
294 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
296 * WgetTest.pm.in: wget is built in the build tree. Use an
297 absolute path to the binary.
298 * Makefile.in: Removed, replaced by Makefile.am.
299 * Makefile.am: Converted from Makefile.in.
301 2007-09-25 Micah Cowan <micah@cowan.name>
303 * Makefile.in: Use EXEEXT instead of exeext.
305 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
307 * WgetTest.pm.in: Added support for timestamping of pre-existing
310 * Test-N-current.px: Fixed broken test logic.
312 * Makefile.in: Updated list of automatically run tests.
314 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
315 option, since now HTTP Content-Disposition header support is turned
318 * Test-HTTP-Content-Disposition-1.px: Ditto.
320 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
322 * Test--spider--no-content-disposition-trivial.px: Added new tests for
323 validation of HTTP Content-Disposition header support logic. In
324 particular, these tests check wget's behavior for every combination of
325 --spider [-r] and -e contentdisposition=on/off options.
327 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
329 * Test--spider-HTTP-Content-Disposition.px: Ditto.
331 * Test--spider--no-content-disposition.px: Ditto.
333 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
335 * Test--spider-r--no-content-disposition.px: Ditto.
337 2007-07-25 Micah Cowan <micah@cowan.name>
339 * HTTPServer.pm (run, send_response): Farmed out some logic from
340 the run method into a separate one named send_response, which
341 was then modified to handle simple authentication testing.
342 (handle_auth): Added to handle simple authentication testing.
343 (verify_auth_basic): Checks to make sure Basic credentials are
345 (verify_auth_digest): Stub added; always fails test.
346 * Makefile.in: Added Test-auth-basic.px to list of automatically
348 * Test-auth-basic: Simple basic authentication test; mainly just
349 lets the server do its testing. Its current purpose is just to
350 ensure that correct basic creds are sent, but never until a
351 challenge has been sent.
353 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
355 * Test--no-content-disposition.px: Added new tests for validation of
356 HTTP Content-Disposition header support logic. In particular, these
357 tests check wget's behavior for every combination of -N/-O and -e
358 contentdisposition=on/off options.
360 * Test--no-content-disposition-trivial.px: Ditto.
362 * Test-N-HTTP-Content-Disposition.px: Ditto.
364 * Test-N--no-content-disposition.px: Ditto.
366 * Test-N--no-content-disposition-trivial.px: Ditto.
368 * Test-O-HTTP-Content-Disposition.px: Ditto.
370 * Test-O--no-content-disposition.px: Ditto.
372 * Test-O--no-content-disposition-trivial.px: Ditto.
374 2007-07-05 Micah Cowan <micah@cowan.name>
377 Updated GPL reference to version 3 or later, removed FSF
380 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
382 * FTPServer.pm: Added FTP testing support.
386 * Test-ftp.px: Ditto.
388 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
390 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
392 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
394 * Test-np.px: Added test for -np.
396 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
398 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
400 * Test1.px: Renamed to Test-noop.px.
402 * Test-noop.px: Ditto.
404 * Test2.px: Renamed to Test-N.px.
408 * Test3.px: Renamed to Test-nonexisting-quiet.px.
410 * Test-nonexisting-quiet.px: Ditto.
412 * Test4.px: Renamed to Test-O-nonexisting.px.
414 * Test-O-nonexisting.px: Ditto.
416 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
418 * Test-HTTP-Content-Disposition.px: Ditto.
420 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
422 * Test-HTTP-Content-Disposition-1.px: Ditto.
424 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
426 * Test-HTTP-Content-Disposition-2.px: Ditto.
428 * Test8.px: Replaced by Test--spider-r.px.
430 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
432 * Test-Restrict-Lowercase.px: Ditto.
434 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
436 * Test-Restrict-Uppercase.px: Ditto.
438 * Test--spider.px: Added test for spider mode.
440 * Test--spider-fail.px: Added failing test for spider mode.
442 * Test--spider-r.px: Added test for recursive spider mode.
444 * Test-c.px: Added test for --continue mode.
446 * Test-c-full.px: Added test for --continue mode.
448 * Test-c-partial.px: Added test for --continue mode.
450 * Test-O.px: Added test for -O.
452 * Test-N-current.px: Added test for -N.
454 * Test-N-old.px: Added test for -N.
456 * Test-E-k.px: Added test for -E -k.
458 * Test-E-k-K.px: Added test for -E -k -K.
460 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
462 * HTTPServer.pm: Added support for Range header.
464 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
466 * Test4.px: Fixed wrong expected behaviour.
468 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
470 * Test9.px: Added test for --restrict-file-names=lowercase option.
472 * Test10.px: Added test for --restrict-file-names=uppercase option.
474 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
476 * HTTPServer.pm: Added synchronization between client and server
477 processes to prevent the test to start before the server is ready.
479 * HTTPTest.pm: Ditto.
483 * Test1.px: Removed unneeded ../src/ from command line.
497 * Test8.px: Added test for recursive spider mode.
499 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
501 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
503 * Test.pm: Added support for command lines which use an absolute path
506 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
508 * Test5.px: Added test for HTTP Content-Disposition support.
514 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
516 * HTTPServer.pm: Serve index.html if no filename is given.
518 * Test.pm: Added support for pre-existing files.
520 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
522 * HTTPServer.pm: Enhanced logging support.
524 * HTTPTest.pm: Updated to new test format.
526 * Test.pm: Improved test setup, verification and cleanup. Major
529 * Test1.px: Updated to new test format.
531 * Test2.px: Updated to new test format.
533 * Test3.px: Added new test for quiet download of nonexistent URL.
535 * Test4.px: Added new test for quiet download of nonexistent URL with
536 --output-document option.
538 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
540 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
541 Removed the old run method and renamed the old run_daemon
542 method to run. Added support for partial
544 * Testing.pm: Renamed to HTTPTest.pm.
546 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
547 Run_HTTP_Test to run, verify_download to _verify_download
548 and added support for timestamp checking.
550 * Test.pm: Added Test class as the super class of every
553 * test1: Renamed to Test1.px.
555 * Test1.px: Refactored as an instance of the HTTPTest class.
557 * Test2.px: Added -N HTTP test.
559 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
561 * HTTPServer.pm: Added basic support for HTTP testing.
563 * Testing.pm: Added basic support for feature testing (only HTTP
564 testing is supported at the moment).
566 * test1: Added basic HTTP test.