1 2009-09-04 Micah Cowan <micah@cowan.name>
3 * WgetTest.pm.in (run): Error-checking improvements.
5 2009-09-02 Micah Cowan <micah@cowan.name>
7 * Makefile.am (unit-tests): explicit dependency is
8 unnecessary (and harmful, as it overrides the automatic one).
10 2009-09-01 Micah Cowan <micah@cowan.name>
12 * Makefile.am (../src/libunittest.a): Make it a phony target,
13 so we always make sure to get up-to-date unit-test runs.
15 2009-09-01 Steven Schubiger <stsc@member.fsf.org>
17 * Makefile.am: Add Test-cookies.px, Test-cookies-401.px
18 and Test-restrict-ascii.px to EXTRA_DIST.
20 2009-08-31 Steven Schubiger <stsc@member.fsf.org>
22 * Makefile.am: Add Test-k.px to EXTRA_DIST.
24 2009-08-29 Steven Schubiger <stsc@member.fsf.org>
26 * run-px: Add Test-k.px to the list.
28 * Test-k.px: Test escaping of semicolons in local file strings.
30 2009-08-27 Micah Cowan <micah@cowan.name>
32 * WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
34 * Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
35 Test--spider-r--no-content-disposition-trivial.px,
36 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
37 Test-O-nonexisting.px, Test-cookies-401.px,
38 Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
39 exit codes have changed.
41 2009-08-27 Micah Cowan <micah@cowan.name>
43 * run-px: Added Test-cookies.px, Test-cookies-401.px
45 * Test-cookies.px: Basic testing to make sure Wget doesn't send
46 cookies; no path/domain checking.
48 * Test-cookies.px: Test to make sure Wget heeds cookies when they
49 are sent with a 401 response (#26775).
51 * HTTPServer.pm (send_response): Don't try to substitute port in
52 response body, if there isn't one.
53 (verify_request_headers): Avoid uninitialized warning when an
54 expected header isn't provided by Wget.
56 2009-07-27 Micah Cowan <micah@cowan.name>
58 * Test-restrict-ascii.px: New.
60 * run-px: Added Test-restrict-ascii.px.
62 2009-07-26 Micah Cowan <micah@cowan.name>
64 * Test-ftp-iri.px, Test-ftp-iri-fallback.px,
65 Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
66 Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
67 replacing --locale with --local-encoding.
69 2009-07-07 Steven Schubiger <stsc@member.fsf.org>
71 * Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
74 2009-07-05 Micah Cowan <micah@cowan.name>
76 * Test-meta-robots.px: Added.
78 * run-px: Add Test-meta-robots.px to the list.
80 2009-07-03 Micah Cowan <micah@cowan.name>
82 * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
85 2009-07-01 Micah Cowan <micah@cowan.name>
87 * HTTPServer.pm (send_response): Invocation of
88 verify_request_headers, to support testing of Wget-sent header
90 (verify_request_headers): Added.
92 * Test-iri.px: Added verification checks for Referer values.
94 2009-06-29 Micah Cowan <micah@cowan.name>
96 * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
97 be skipped at user discretion.
99 * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
100 test for percent-coded value preservation, FTP recursion when IRI
103 2008-12-04 Micah Cowan <micah@cowan.name> (not copyrightable)
105 * run-px, Test-idn-robots.px: Added test for robots-file
108 * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
111 2008-11-26 Micah Cowan <micah@cowan.name> (not copyrightable)
113 * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
114 Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
115 Test-idn-meta.px, Test-iri-disabled.px,
116 Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
117 module-scope warnings.
119 2009-06-14 Micah Cowan <micah@cowan.name>
121 * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
122 certs/, to make distcheck happy.
124 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
126 * Test-proxied-https-auth.px: Take an optional argument for the
127 top source directory, so we can find the cert and key.
129 * run-px: Provide the top source directory as an argument, so
130 scripts can find their way around.
132 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
134 * run-px: Skip testing with real rc files by setting
135 SYSTEM_WGETRC and WGETRC to /dev/null.
137 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
139 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
141 * run-px: Include modules from srcdir.
143 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
145 * WgetTest.pm.in: Remove the magic interpreter line;
146 replace -w with lexical warnings.
148 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
150 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
151 WgetTest.pm.in: Clean up leftover whitespace.
153 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
155 * Test-auth-basic.px, Test-auth-no-challenge.px,
156 Test-auth-no-challenge-url.px, Test-c-full.px,
157 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
158 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
159 Test-HTTP-Content-Disposition-1.px,
160 Test-HTTP-Content-Disposition-2.px,
161 Test-HTTP-Content-Disposition.px, Test-N-current.px,
162 Test-N-HTTP-Content-Disposition.px,
163 Test-N--no-content-disposition.px,
164 Test-N--no-content-disposition-trivial.px,
165 Test-N-no-info.px, Test--no-content-disposition.px,
166 Test--no-content-disposition-trivial.px, Test-N-old.px,
167 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
168 Test-N.px, Test-N-smaller.px,
169 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
170 Test-O--no-content-disposition.px,
171 Test-O--no-content-disposition-trivial.px,
172 Test-O-nonexisting.px, Test-O.px,
173 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
174 Test-Restrict-Uppercase.px,
175 Test--spider-fail.pxm, Test--spider.px,
176 Test--spider-r-HTTP-Content-Disposition.px,
177 Test--spider-r--no-content-disposition.px,
178 Test--spider-r--no-content-disposition-trivial.px,
179 Test--spider-r.px: Enforce lexically scoped warnings.
181 * Test-proxied-https-auth.px, run-px: Place use strict
184 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
186 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
187 Remove the magic interpreter line, because it cannot be
188 used fully. Substitute -w with use warnings.
190 2008-11-11 Micah Cowan <micah@cowan.name>
192 * HTTPServer.pm (handle_auth): Allow testing of
195 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
198 * run-px: Add Test-auth-no-challenge.px,
199 Test-auth-no-challenge-url.px.
201 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
203 * run-px: Use some colors for the summary part of the test
204 output to strengthen the distinction between a successful
207 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
209 * run-px: When executing test scripts, invoke them with the
210 current perl executable name as determined by env.
212 2008-11-06 Micah Cowan <micah@cowan.name>
214 * run-px: Use strict (thanks Steven Schubiger!).
216 2008-09-09 Micah Cowan <micah@cowan.name>
218 * Test-idn-cmd.px: Added.
220 * run-px: Added Test-idn-cmd.px.
222 2008-08-28 Micah Cowan <micah@cowan.name>
224 * HTTPServer.pm (run): Allow distinguishing between hostnames,
225 when used as a proxy.
227 * Test-idn-headers.px, Test-idn-meta.px: Added.
229 * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
231 * Test-proxy-auth-basic.px: Use the full URL, rather than just the
232 path (made necessary by the accompanying change to HTTPServer.pm).
234 2008-08-14 Xavier Saint <wget@sxav.eu>
236 * Test-iri-list.px : Fetch files from a remote list.
238 2008-08-03 Xavier Saint <wget@sxav.eu>
240 * Test-iri.px : HTTP recursive fetch for testing IRI support and
243 * Test-iri-disabled.px : Same file structure as Test-iri.px but with
246 * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
247 and ISO-8859-15 for character 0xA4 (respectively currency sign and
248 euro sign). So with a forced ISO-8859-1 remote encoding, wget should
249 see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
250 of using the ISO-8859-15 given by the server.
252 * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
253 and expect wget to fetch the file UTF-8 encoded.
255 * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
256 locale encoding to fetch the file.
258 * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
259 disabled. The UTF-8 encoded file should not be retrieved.
261 2008-06-22 Micah Cowan <micah@cowan.name>
263 * Test-proxied-https-auth.px: Shift exit code so it falls in the
264 lower bits, and actually fails when it should. Use dynamic port,
265 instead of static port. Only run the test if our Wget was built
268 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
269 to add these from 1.11.x repo. Fixed.
271 2008-06-12 Micah Cowan <micah@cowan.name>
273 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
274 Test--no-content-disposition-trivial.px,
275 Test--no-content-disposition.px, Test--spider-fail.px,
276 Test--spider-r--no-content-disposition-trivial.px,
277 Test--spider-r--no-content-disposition.px,
278 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
279 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
280 Test-HTTP-Content-Disposition-1.px,
281 Test-HTTP-Content-Disposition-2.px,
282 Test-HTTP-Content-Disposition.px,
283 Test-N--no-content-disposition-trivial.px,
284 Test-N--no-content-disposition.px,
285 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
286 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
287 Test-O--no-content-disposition-trivial.px,
288 Test-O--no-content-disposition.px,
289 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
290 Test-O.px, Test-Restrict-Lowercase.px,
291 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
292 Test-c-partial.px, Test-c.px, Test-ftp.px,
293 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
294 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
295 WgetTest.pm.in: Use whatever ports are available, rather than
298 * run-px: More summary info, explicit exit code.
300 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
303 * WgetTest.pm.in: Draw more attention to the fact that
304 WgetTest.pm is a generated file.
306 * Test-proxied-https-auth.px: Better cleanup, so next test can
309 2008-05-31 Micah Cowan <micah@cowan.name>
311 * Test-N-current.px: Ensure we catch failures.
313 * Test-N-old.px: Make it test only the timestamp, and not the
314 content length in addition.
316 * Test-N-smaller.px, Test-N-no-info.px: added.
318 * Test-c-partial.px: Improve checking that the file was
319 partially retrieved, rather than overwritten.
321 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
323 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
324 than 206 with a zero content-length.
326 2008-05-23 Micah Cowan <micah@cowan.name>
328 * Test--spider.px: Make test expect 0 return code.
330 2008-05-22 Micah Cowan <micah@cowan.name>
332 * Makefile.am (run-px-tests): Replaced ugly list of tests with
333 run-px Perl script to manage running them.
337 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
339 2008-04-26 Micah Cowan <micah@cowan.name>
341 * Makefile.am, Test-proxied-https-auth.px: Added a test for
342 accessing password-protected HTTPS URLs through a proxy (via
345 2008-04-10 Micah Cowan <micah@cowan.name>
347 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
348 accessing password-protected URLs through a proxy.
350 2008-01-25 Micah Cowan <micah@cowan.name>
352 * Makefile.am: Updated copyright year.
354 2008-01-23 Micah Cowan <micah@cowan.name>
356 * Makefile.am: Add libmd5 to unit-tests.
358 2007-11-28 Micah Cowan <micah@cowan.name>
360 * Makefile.am: Updated license exception for OpenSSL, per the
363 2007-10-18 Micah Cowan <micah@cowan.name>
365 * Makefile.am: Add dependency for unit_tests on libgnu.a.
367 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
369 * WgetTest.pm.in: wget is built in the build tree. Use an
370 absolute path to the binary.
371 * Makefile.in: Removed, replaced by Makefile.am.
372 * Makefile.am: Converted from Makefile.in.
374 2007-09-25 Micah Cowan <micah@cowan.name>
376 * Makefile.in: Use EXEEXT instead of exeext.
378 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
380 * WgetTest.pm.in: Added support for timestamping of pre-existing
383 * Test-N-current.px: Fixed broken test logic.
385 * Makefile.in: Updated list of automatically run tests.
387 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
388 option, since now HTTP Content-Disposition header support is turned
391 * Test-HTTP-Content-Disposition-1.px: Ditto.
393 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
395 * Test--spider--no-content-disposition-trivial.px: Added new tests for
396 validation of HTTP Content-Disposition header support logic. In
397 particular, these tests check wget's behavior for every combination of
398 --spider [-r] and -e contentdisposition=on/off options.
400 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
402 * Test--spider-HTTP-Content-Disposition.px: Ditto.
404 * Test--spider--no-content-disposition.px: Ditto.
406 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
408 * Test--spider-r--no-content-disposition.px: Ditto.
410 2007-07-25 Micah Cowan <micah@cowan.name>
412 * HTTPServer.pm (run, send_response): Farmed out some logic from
413 the run method into a separate one named send_response, which
414 was then modified to handle simple authentication testing.
415 (handle_auth): Added to handle simple authentication testing.
416 (verify_auth_basic): Checks to make sure Basic credentials are
418 (verify_auth_digest): Stub added; always fails test.
419 * Makefile.in: Added Test-auth-basic.px to list of automatically
421 * Test-auth-basic: Simple basic authentication test; mainly just
422 lets the server do its testing. Its current purpose is just to
423 ensure that correct basic creds are sent, but never until a
424 challenge has been sent.
426 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
428 * Test--no-content-disposition.px: Added new tests for validation of
429 HTTP Content-Disposition header support logic. In particular, these
430 tests check wget's behavior for every combination of -N/-O and -e
431 contentdisposition=on/off options.
433 * Test--no-content-disposition-trivial.px: Ditto.
435 * Test-N-HTTP-Content-Disposition.px: Ditto.
437 * Test-N--no-content-disposition.px: Ditto.
439 * Test-N--no-content-disposition-trivial.px: Ditto.
441 * Test-O-HTTP-Content-Disposition.px: Ditto.
443 * Test-O--no-content-disposition.px: Ditto.
445 * Test-O--no-content-disposition-trivial.px: Ditto.
447 2007-07-05 Micah Cowan <micah@cowan.name>
450 Updated GPL reference to version 3 or later, removed FSF
453 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
455 * FTPServer.pm: Added FTP testing support.
459 * Test-ftp.px: Ditto.
461 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
463 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
465 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
467 * Test-np.px: Added test for -np.
469 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
471 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
473 * Test1.px: Renamed to Test-noop.px.
475 * Test-noop.px: Ditto.
477 * Test2.px: Renamed to Test-N.px.
481 * Test3.px: Renamed to Test-nonexisting-quiet.px.
483 * Test-nonexisting-quiet.px: Ditto.
485 * Test4.px: Renamed to Test-O-nonexisting.px.
487 * Test-O-nonexisting.px: Ditto.
489 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
491 * Test-HTTP-Content-Disposition.px: Ditto.
493 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
495 * Test-HTTP-Content-Disposition-1.px: Ditto.
497 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
499 * Test-HTTP-Content-Disposition-2.px: Ditto.
501 * Test8.px: Replaced by Test--spider-r.px.
503 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
505 * Test-Restrict-Lowercase.px: Ditto.
507 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
509 * Test-Restrict-Uppercase.px: Ditto.
511 * Test--spider.px: Added test for spider mode.
513 * Test--spider-fail.px: Added failing test for spider mode.
515 * Test--spider-r.px: Added test for recursive spider mode.
517 * Test-c.px: Added test for --continue mode.
519 * Test-c-full.px: Added test for --continue mode.
521 * Test-c-partial.px: Added test for --continue mode.
523 * Test-O.px: Added test for -O.
525 * Test-N-current.px: Added test for -N.
527 * Test-N-old.px: Added test for -N.
529 * Test-E-k.px: Added test for -E -k.
531 * Test-E-k-K.px: Added test for -E -k -K.
533 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
535 * HTTPServer.pm: Added support for Range header.
537 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
539 * Test4.px: Fixed wrong expected behaviour.
541 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
543 * Test9.px: Added test for --restrict-file-names=lowercase option.
545 * Test10.px: Added test for --restrict-file-names=uppercase option.
547 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
549 * HTTPServer.pm: Added synchronization between client and server
550 processes to prevent the test to start before the server is ready.
552 * HTTPTest.pm: Ditto.
556 * Test1.px: Removed unneeded ../src/ from command line.
570 * Test8.px: Added test for recursive spider mode.
572 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
574 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
576 * Test.pm: Added support for command lines which use an absolute path
579 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
581 * Test5.px: Added test for HTTP Content-Disposition support.
587 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
589 * HTTPServer.pm: Serve index.html if no filename is given.
591 * Test.pm: Added support for pre-existing files.
593 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
595 * HTTPServer.pm: Enhanced logging support.
597 * HTTPTest.pm: Updated to new test format.
599 * Test.pm: Improved test setup, verification and cleanup. Major
602 * Test1.px: Updated to new test format.
604 * Test2.px: Updated to new test format.
606 * Test3.px: Added new test for quiet download of nonexistent URL.
608 * Test4.px: Added new test for quiet download of nonexistent URL with
609 --output-document option.
611 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
613 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
614 Removed the old run method and renamed the old run_daemon
615 method to run. Added support for partial
617 * Testing.pm: Renamed to HTTPTest.pm.
619 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
620 Run_HTTP_Test to run, verify_download to _verify_download
621 and added support for timestamp checking.
623 * Test.pm: Added Test class as the super class of every
626 * test1: Renamed to Test1.px.
628 * Test1.px: Refactored as an instance of the HTTPTest class.
630 * Test2.px: Added -N HTTP test.
632 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
634 * HTTPServer.pm: Added basic support for HTTP testing.
636 * Testing.pm: Added basic support for feature testing (only HTTP
637 testing is supported at the moment).
639 * test1: Added basic HTTP test.