1 2009-09-05 Steven Schubiger <stsc@member.fsf.org>
3 * run-px: Introduce two new diagnostics: Skip and Unknown.
5 * WgetFeature.pm (import): Parse the version output of Wget
6 and assert the availability of a feature.
8 * WgetFeature.cfg: Messages to be printed in absence of a
11 * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
12 Test-ftp-iri-recursive.px, Test-ftp-iri.px, Test-idn-cmd.px,
13 Test-idn-headers.px, Test-idn-meta.px, Test-idn-robots.px,
14 Test-iri-forced-remote.px, Test-iri-list.px,
15 Test-iri-percent.px, Test-iri.px: Use WgetFeature.pm to
16 check for the presence of the IDN/IRI feature.
18 * Test-proxied-https-auth.px: Replace grepping for a feature
19 with loading WgetFeature.pm at compile-time.
21 * Makefile.am: Add WgetFeature.pm and WgetFeature.cfg
24 2009-09-02 Micah Cowan <micah@cowan.name>
26 * Makefile.am (unit-tests): explicit dependency is
27 unnecessary (and harmful, as it overrides the automatic one).
29 2009-09-01 Micah Cowan <micah@cowan.name>
31 * Makefile.am (../src/libunittest.a): Make it a phony target,
32 so we always make sure to get up-to-date unit-test runs.
34 2009-09-01 Steven Schubiger <stsc@member.fsf.org>
36 * Makefile.am: Add Test-cookies.px, Test-cookies-401.px
37 and Test-restrict-ascii.px to EXTRA_DIST.
39 2009-08-31 Steven Schubiger <stsc@member.fsf.org>
41 * Makefile.am: Add Test-k.px to EXTRA_DIST.
43 2009-08-29 Steven Schubiger <stsc@member.fsf.org>
45 * run-px: Add Test-k.px to the list.
47 * Test-k.px: Test escaping of semicolons in local file strings.
49 2009-08-27 Micah Cowan <micah@cowan.name>
51 * WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
53 * Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
54 Test--spider-r--no-content-disposition-trivial.px,
55 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
56 Test-O-nonexisting.px, Test-cookies-401.px,
57 Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
58 exit codes have changed.
60 2009-08-27 Micah Cowan <micah@cowan.name>
62 * run-px: Added Test-cookies.px, Test-cookies-401.px
64 * Test-cookies.px: Basic testing to make sure Wget doesn't send
65 cookies; no path/domain checking.
67 * Test-cookies.px: Test to make sure Wget heeds cookies when they
68 are sent with a 401 response (#26775).
70 * HTTPServer.pm (send_response): Don't try to substitute port in
71 response body, if there isn't one.
72 (verify_request_headers): Avoid uninitialized warning when an
73 expected header isn't provided by Wget.
75 2009-07-27 Micah Cowan <micah@cowan.name>
77 * Test-restrict-ascii.px: New.
79 * run-px: Added Test-restrict-ascii.px.
81 2009-07-26 Micah Cowan <micah@cowan.name>
83 * Test-ftp-iri.px, Test-ftp-iri-fallback.px,
84 Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
85 Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
86 replacing --locale with --local-encoding.
88 2009-07-07 Steven Schubiger <stsc@member.fsf.org>
90 * Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
93 2009-07-05 Micah Cowan <micah@cowan.name>
95 * Test-meta-robots.px: Added.
97 * run-px: Add Test-meta-robots.px to the list.
99 2009-07-03 Micah Cowan <micah@cowan.name>
101 * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
102 --iri=no --> --no-iri
104 2009-07-01 Micah Cowan <micah@cowan.name>
106 * HTTPServer.pm (send_response): Invocation of
107 verify_request_headers, to support testing of Wget-sent header
109 (verify_request_headers): Added.
111 * Test-iri.px: Added verification checks for Referer values.
113 2009-06-29 Micah Cowan <micah@cowan.name>
115 * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
116 be skipped at user discretion.
118 * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
119 test for percent-coded value preservation, FTP recursion when IRI
122 2008-12-04 Micah Cowan <micah@cowan.name> (not copyrightable)
124 * run-px, Test-idn-robots.px: Added test for robots-file
127 * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
130 2008-11-26 Micah Cowan <micah@cowan.name> (not copyrightable)
132 * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
133 Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
134 Test-idn-meta.px, Test-iri-disabled.px,
135 Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
136 module-scope warnings.
138 2009-06-14 Micah Cowan <micah@cowan.name>
140 * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
141 certs/, to make distcheck happy.
143 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
145 * Test-proxied-https-auth.px: Take an optional argument for the
146 top source directory, so we can find the cert and key.
148 * run-px: Provide the top source directory as an argument, so
149 scripts can find their way around.
151 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
153 * run-px: Skip testing with real rc files by setting
154 SYSTEM_WGETRC and WGETRC to /dev/null.
156 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
158 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
160 * run-px: Include modules from srcdir.
162 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
164 * WgetTest.pm.in: Remove the magic interpreter line;
165 replace -w with lexical warnings.
167 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
169 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
170 WgetTest.pm.in: Clean up leftover whitespace.
172 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
174 * Test-auth-basic.px, Test-auth-no-challenge.px,
175 Test-auth-no-challenge-url.px, Test-c-full.px,
176 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
177 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
178 Test-HTTP-Content-Disposition-1.px,
179 Test-HTTP-Content-Disposition-2.px,
180 Test-HTTP-Content-Disposition.px, Test-N-current.px,
181 Test-N-HTTP-Content-Disposition.px,
182 Test-N--no-content-disposition.px,
183 Test-N--no-content-disposition-trivial.px,
184 Test-N-no-info.px, Test--no-content-disposition.px,
185 Test--no-content-disposition-trivial.px, Test-N-old.px,
186 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
187 Test-N.px, Test-N-smaller.px,
188 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
189 Test-O--no-content-disposition.px,
190 Test-O--no-content-disposition-trivial.px,
191 Test-O-nonexisting.px, Test-O.px,
192 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
193 Test-Restrict-Uppercase.px,
194 Test--spider-fail.pxm, Test--spider.px,
195 Test--spider-r-HTTP-Content-Disposition.px,
196 Test--spider-r--no-content-disposition.px,
197 Test--spider-r--no-content-disposition-trivial.px,
198 Test--spider-r.px: Enforce lexically scoped warnings.
200 * Test-proxied-https-auth.px, run-px: Place use strict
203 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
205 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
206 Remove the magic interpreter line, because it cannot be
207 used fully. Substitute -w with use warnings.
209 2008-11-11 Micah Cowan <micah@cowan.name>
211 * HTTPServer.pm (handle_auth): Allow testing of
214 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
217 * run-px: Add Test-auth-no-challenge.px,
218 Test-auth-no-challenge-url.px.
220 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
222 * run-px: Use some colors for the summary part of the test
223 output to strengthen the distinction between a successful
226 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
228 * run-px: When executing test scripts, invoke them with the
229 current perl executable name as determined by env.
231 2008-11-06 Micah Cowan <micah@cowan.name>
233 * run-px: Use strict (thanks Steven Schubiger!).
235 2008-09-09 Micah Cowan <micah@cowan.name>
237 * Test-idn-cmd.px: Added.
239 * run-px: Added Test-idn-cmd.px.
241 2008-08-28 Micah Cowan <micah@cowan.name>
243 * HTTPServer.pm (run): Allow distinguishing between hostnames,
244 when used as a proxy.
246 * Test-idn-headers.px, Test-idn-meta.px: Added.
248 * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
250 * Test-proxy-auth-basic.px: Use the full URL, rather than just the
251 path (made necessary by the accompanying change to HTTPServer.pm).
253 2008-08-14 Xavier Saint <wget@sxav.eu>
255 * Test-iri-list.px : Fetch files from a remote list.
257 2008-08-03 Xavier Saint <wget@sxav.eu>
259 * Test-iri.px : HTTP recursive fetch for testing IRI support and
262 * Test-iri-disabled.px : Same file structure as Test-iri.px but with
265 * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
266 and ISO-8859-15 for character 0xA4 (respectively currency sign and
267 euro sign). So with a forced ISO-8859-1 remote encoding, wget should
268 see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
269 of using the ISO-8859-15 given by the server.
271 * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
272 and expect wget to fetch the file UTF-8 encoded.
274 * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
275 locale encoding to fetch the file.
277 * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
278 disabled. The UTF-8 encoded file should not be retrieved.
280 2008-06-22 Micah Cowan <micah@cowan.name>
282 * Test-proxied-https-auth.px: Shift exit code so it falls in the
283 lower bits, and actually fails when it should. Use dynamic port,
284 instead of static port. Only run the test if our Wget was built
287 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
288 to add these from 1.11.x repo. Fixed.
290 2008-06-12 Micah Cowan <micah@cowan.name>
292 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
293 Test--no-content-disposition-trivial.px,
294 Test--no-content-disposition.px, Test--spider-fail.px,
295 Test--spider-r--no-content-disposition-trivial.px,
296 Test--spider-r--no-content-disposition.px,
297 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
298 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
299 Test-HTTP-Content-Disposition-1.px,
300 Test-HTTP-Content-Disposition-2.px,
301 Test-HTTP-Content-Disposition.px,
302 Test-N--no-content-disposition-trivial.px,
303 Test-N--no-content-disposition.px,
304 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
305 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
306 Test-O--no-content-disposition-trivial.px,
307 Test-O--no-content-disposition.px,
308 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
309 Test-O.px, Test-Restrict-Lowercase.px,
310 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
311 Test-c-partial.px, Test-c.px, Test-ftp.px,
312 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
313 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
314 WgetTest.pm.in: Use whatever ports are available, rather than
317 * run-px: More summary info, explicit exit code.
319 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
322 * WgetTest.pm.in: Draw more attention to the fact that
323 WgetTest.pm is a generated file.
325 * Test-proxied-https-auth.px: Better cleanup, so next test can
328 2008-05-31 Micah Cowan <micah@cowan.name>
330 * Test-N-current.px: Ensure we catch failures.
332 * Test-N-old.px: Make it test only the timestamp, and not the
333 content length in addition.
335 * Test-N-smaller.px, Test-N-no-info.px: added.
337 * Test-c-partial.px: Improve checking that the file was
338 partially retrieved, rather than overwritten.
340 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
342 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
343 than 206 with a zero content-length.
345 2008-05-23 Micah Cowan <micah@cowan.name>
347 * Test--spider.px: Make test expect 0 return code.
349 2008-05-22 Micah Cowan <micah@cowan.name>
351 * Makefile.am (run-px-tests): Replaced ugly list of tests with
352 run-px Perl script to manage running them.
356 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
358 2008-04-26 Micah Cowan <micah@cowan.name>
360 * Makefile.am, Test-proxied-https-auth.px: Added a test for
361 accessing password-protected HTTPS URLs through a proxy (via
364 2008-04-10 Micah Cowan <micah@cowan.name>
366 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
367 accessing password-protected URLs through a proxy.
369 2008-01-25 Micah Cowan <micah@cowan.name>
371 * Makefile.am: Updated copyright year.
373 2008-01-23 Micah Cowan <micah@cowan.name>
375 * Makefile.am: Add libmd5 to unit-tests.
377 2007-11-28 Micah Cowan <micah@cowan.name>
379 * Makefile.am: Updated license exception for OpenSSL, per the
382 2007-10-18 Micah Cowan <micah@cowan.name>
384 * Makefile.am: Add dependency for unit_tests on libgnu.a.
386 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
388 * WgetTest.pm.in: wget is built in the build tree. Use an
389 absolute path to the binary.
390 * Makefile.in: Removed, replaced by Makefile.am.
391 * Makefile.am: Converted from Makefile.in.
393 2007-09-25 Micah Cowan <micah@cowan.name>
395 * Makefile.in: Use EXEEXT instead of exeext.
397 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
399 * WgetTest.pm.in: Added support for timestamping of pre-existing
402 * Test-N-current.px: Fixed broken test logic.
404 * Makefile.in: Updated list of automatically run tests.
406 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
407 option, since now HTTP Content-Disposition header support is turned
410 * Test-HTTP-Content-Disposition-1.px: Ditto.
412 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
414 * Test--spider--no-content-disposition-trivial.px: Added new tests for
415 validation of HTTP Content-Disposition header support logic. In
416 particular, these tests check wget's behavior for every combination of
417 --spider [-r] and -e contentdisposition=on/off options.
419 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
421 * Test--spider-HTTP-Content-Disposition.px: Ditto.
423 * Test--spider--no-content-disposition.px: Ditto.
425 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
427 * Test--spider-r--no-content-disposition.px: Ditto.
429 2007-07-25 Micah Cowan <micah@cowan.name>
431 * HTTPServer.pm (run, send_response): Farmed out some logic from
432 the run method into a separate one named send_response, which
433 was then modified to handle simple authentication testing.
434 (handle_auth): Added to handle simple authentication testing.
435 (verify_auth_basic): Checks to make sure Basic credentials are
437 (verify_auth_digest): Stub added; always fails test.
438 * Makefile.in: Added Test-auth-basic.px to list of automatically
440 * Test-auth-basic: Simple basic authentication test; mainly just
441 lets the server do its testing. Its current purpose is just to
442 ensure that correct basic creds are sent, but never until a
443 challenge has been sent.
445 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
447 * Test--no-content-disposition.px: Added new tests for validation of
448 HTTP Content-Disposition header support logic. In particular, these
449 tests check wget's behavior for every combination of -N/-O and -e
450 contentdisposition=on/off options.
452 * Test--no-content-disposition-trivial.px: Ditto.
454 * Test-N-HTTP-Content-Disposition.px: Ditto.
456 * Test-N--no-content-disposition.px: Ditto.
458 * Test-N--no-content-disposition-trivial.px: Ditto.
460 * Test-O-HTTP-Content-Disposition.px: Ditto.
462 * Test-O--no-content-disposition.px: Ditto.
464 * Test-O--no-content-disposition-trivial.px: Ditto.
466 2007-07-05 Micah Cowan <micah@cowan.name>
469 Updated GPL reference to version 3 or later, removed FSF
472 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
474 * FTPServer.pm: Added FTP testing support.
478 * Test-ftp.px: Ditto.
480 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
482 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
484 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
486 * Test-np.px: Added test for -np.
488 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
490 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
492 * Test1.px: Renamed to Test-noop.px.
494 * Test-noop.px: Ditto.
496 * Test2.px: Renamed to Test-N.px.
500 * Test3.px: Renamed to Test-nonexisting-quiet.px.
502 * Test-nonexisting-quiet.px: Ditto.
504 * Test4.px: Renamed to Test-O-nonexisting.px.
506 * Test-O-nonexisting.px: Ditto.
508 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
510 * Test-HTTP-Content-Disposition.px: Ditto.
512 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
514 * Test-HTTP-Content-Disposition-1.px: Ditto.
516 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
518 * Test-HTTP-Content-Disposition-2.px: Ditto.
520 * Test8.px: Replaced by Test--spider-r.px.
522 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
524 * Test-Restrict-Lowercase.px: Ditto.
526 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
528 * Test-Restrict-Uppercase.px: Ditto.
530 * Test--spider.px: Added test for spider mode.
532 * Test--spider-fail.px: Added failing test for spider mode.
534 * Test--spider-r.px: Added test for recursive spider mode.
536 * Test-c.px: Added test for --continue mode.
538 * Test-c-full.px: Added test for --continue mode.
540 * Test-c-partial.px: Added test for --continue mode.
542 * Test-O.px: Added test for -O.
544 * Test-N-current.px: Added test for -N.
546 * Test-N-old.px: Added test for -N.
548 * Test-E-k.px: Added test for -E -k.
550 * Test-E-k-K.px: Added test for -E -k -K.
552 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
554 * HTTPServer.pm: Added support for Range header.
556 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
558 * Test4.px: Fixed wrong expected behaviour.
560 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
562 * Test9.px: Added test for --restrict-file-names=lowercase option.
564 * Test10.px: Added test for --restrict-file-names=uppercase option.
566 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
568 * HTTPServer.pm: Added synchronization between client and server
569 processes to prevent the test to start before the server is ready.
571 * HTTPTest.pm: Ditto.
575 * Test1.px: Removed unneeded ../src/ from command line.
589 * Test8.px: Added test for recursive spider mode.
591 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
593 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
595 * Test.pm: Added support for command lines which use an absolute path
598 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
600 * Test5.px: Added test for HTTP Content-Disposition support.
606 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
608 * HTTPServer.pm: Serve index.html if no filename is given.
610 * Test.pm: Added support for pre-existing files.
612 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
614 * HTTPServer.pm: Enhanced logging support.
616 * HTTPTest.pm: Updated to new test format.
618 * Test.pm: Improved test setup, verification and cleanup. Major
621 * Test1.px: Updated to new test format.
623 * Test2.px: Updated to new test format.
625 * Test3.px: Added new test for quiet download of nonexistent URL.
627 * Test4.px: Added new test for quiet download of nonexistent URL with
628 --output-document option.
630 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
632 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
633 Removed the old run method and renamed the old run_daemon
634 method to run. Added support for partial
636 * Testing.pm: Renamed to HTTPTest.pm.
638 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
639 Run_HTTP_Test to run, verify_download to _verify_download
640 and added support for timestamp checking.
642 * Test.pm: Added Test class as the super class of every
645 * test1: Renamed to Test1.px.
647 * Test1.px: Refactored as an instance of the HTTPTest class.
649 * Test2.px: Added -N HTTP test.
651 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
653 * HTTPServer.pm: Added basic support for HTTP testing.
655 * Testing.pm: Added basic support for feature testing (only HTTP
656 testing is supported at the moment).
658 * test1: Added basic HTTP test.