1 2009-09-01 Micah Cowan <micah@cowan.name>
3 * Makefile.am (../src/libunittest.a): Make it a phony target,
4 so we always make sure to get up-to-date unit-test runs.
6 2009-08-27 Micah Cowan <micah@cowan.name>
8 * WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
10 * Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
11 Test--spider-r--no-content-disposition-trivial.px,
12 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
13 Test-O-nonexisting.px, Test-cookies-401.px,
14 Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
15 exit codes have changed.
17 2009-08-27 Micah Cowan <micah@cowan.name>
19 * run-px: Added Test-cookies.px, Test-cookies-401.px
21 * Test-cookies.px: Basic testing to make sure Wget doesn't send
22 cookies; no path/domain checking.
24 * Test-cookies.px: Test to make sure Wget heeds cookies when they
25 are sent with a 401 response (#26775).
27 * HTTPServer.pm (send_response): Don't try to substitute port in
28 response body, if there isn't one.
29 (verify_request_headers): Avoid uninitialized warning when an
30 expected header isn't provided by Wget.
32 2009-07-27 Micah Cowan <micah@cowan.name>
34 * Test-restrict-ascii.px: New.
36 * run-px: Added Test-restrict-ascii.px.
38 2009-07-26 Micah Cowan <micah@cowan.name>
40 * Test-ftp-iri.px, Test-ftp-iri-fallback.px,
41 Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
42 Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
43 replacing --locale with --local-encoding.
45 2009-07-07 Steven Schubiger <stsc@member.fsf.org>
47 * Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
50 2009-07-05 Micah Cowan <micah@cowan.name>
52 * Test-meta-robots.px: Added.
54 * run-px: Add Test-meta-robots.px to the list.
56 2009-07-03 Micah Cowan <micah@cowan.name>
58 * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
61 2009-07-01 Micah Cowan <micah@cowan.name>
63 * HTTPServer.pm (send_response): Invocation of
64 verify_request_headers, to support testing of Wget-sent header
66 (verify_request_headers): Added.
68 * Test-iri.px: Added verification checks for Referer values.
70 2009-06-29 Micah Cowan <micah@cowan.name>
72 * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
73 be skipped at user discretion.
75 * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
76 test for percent-coded value preservation, FTP recursion when IRI
79 2008-12-04 Micah Cowan <micah@cowan.name> (not copyrightable)
81 * run-px, Test-idn-robots.px: Added test for robots-file
84 * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
87 2008-11-26 Micah Cowan <micah@cowan.name> (not copyrightable)
89 * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
90 Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
91 Test-idn-meta.px, Test-iri-disabled.px,
92 Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
93 module-scope warnings.
95 2009-06-14 Micah Cowan <micah@cowan.name>
97 * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
98 certs/, to make distcheck happy.
100 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
102 * Test-proxied-https-auth.px: Take an optional argument for the
103 top source directory, so we can find the cert and key.
105 * run-px: Provide the top source directory as an argument, so
106 scripts can find their way around.
108 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
110 * run-px: Skip testing with real rc files by setting
111 SYSTEM_WGETRC and WGETRC to /dev/null.
113 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
115 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
117 * run-px: Include modules from srcdir.
119 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
121 * WgetTest.pm.in: Remove the magic interpreter line;
122 replace -w with lexical warnings.
124 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
126 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
127 WgetTest.pm.in: Clean up leftover whitespace.
129 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
131 * Test-auth-basic.px, Test-auth-no-challenge.px,
132 Test-auth-no-challenge-url.px, Test-c-full.px,
133 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
134 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
135 Test-HTTP-Content-Disposition-1.px,
136 Test-HTTP-Content-Disposition-2.px,
137 Test-HTTP-Content-Disposition.px, Test-N-current.px,
138 Test-N-HTTP-Content-Disposition.px,
139 Test-N--no-content-disposition.px,
140 Test-N--no-content-disposition-trivial.px,
141 Test-N-no-info.px, Test--no-content-disposition.px,
142 Test--no-content-disposition-trivial.px, Test-N-old.px,
143 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
144 Test-N.px, Test-N-smaller.px,
145 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
146 Test-O--no-content-disposition.px,
147 Test-O--no-content-disposition-trivial.px,
148 Test-O-nonexisting.px, Test-O.px,
149 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
150 Test-Restrict-Uppercase.px,
151 Test--spider-fail.pxm, Test--spider.px,
152 Test--spider-r-HTTP-Content-Disposition.px,
153 Test--spider-r--no-content-disposition.px,
154 Test--spider-r--no-content-disposition-trivial.px,
155 Test--spider-r.px: Enforce lexically scoped warnings.
157 * Test-proxied-https-auth.px, run-px: Place use strict
160 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
162 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
163 Remove the magic interpreter line, because it cannot be
164 used fully. Substitute -w with use warnings.
166 2008-11-11 Micah Cowan <micah@cowan.name>
168 * HTTPServer.pm (handle_auth): Allow testing of
171 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
174 * run-px: Add Test-auth-no-challenge.px,
175 Test-auth-no-challenge-url.px.
177 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
179 * run-px: Use some colors for the summary part of the test
180 output to strengthen the distinction between a successful
183 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
185 * run-px: When executing test scripts, invoke them with the
186 current perl executable name as determined by env.
188 2008-11-06 Micah Cowan <micah@cowan.name>
190 * run-px: Use strict (thanks Steven Schubiger!).
192 2008-09-09 Micah Cowan <micah@cowan.name>
194 * Test-idn-cmd.px: Added.
196 * run-px: Added Test-idn-cmd.px.
198 2008-08-28 Micah Cowan <micah@cowan.name>
200 * HTTPServer.pm (run): Allow distinguishing between hostnames,
201 when used as a proxy.
203 * Test-idn-headers.px, Test-idn-meta.px: Added.
205 * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
207 * Test-proxy-auth-basic.px: Use the full URL, rather than just the
208 path (made necessary by the accompanying change to HTTPServer.pm).
210 2008-08-14 Xavier Saint <wget@sxav.eu>
212 * Test-iri-list.px : Fetch files from a remote list.
214 2008-08-03 Xavier Saint <wget@sxav.eu>
216 * Test-iri.px : HTTP recursive fetch for testing IRI support and
219 * Test-iri-disabled.px : Same file structure as Test-iri.px but with
222 * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
223 and ISO-8859-15 for character 0xA4 (respectively currency sign and
224 euro sign). So with a forced ISO-8859-1 remote encoding, wget should
225 see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
226 of using the ISO-8859-15 given by the server.
228 * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
229 and expect wget to fetch the file UTF-8 encoded.
231 * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
232 locale encoding to fetch the file.
234 * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
235 disabled. The UTF-8 encoded file should not be retrieved.
237 2008-06-22 Micah Cowan <micah@cowan.name>
239 * Test-proxied-https-auth.px: Shift exit code so it falls in the
240 lower bits, and actually fails when it should. Use dynamic port,
241 instead of static port. Only run the test if our Wget was built
244 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
245 to add these from 1.11.x repo. Fixed.
247 2008-06-12 Micah Cowan <micah@cowan.name>
249 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
250 Test--no-content-disposition-trivial.px,
251 Test--no-content-disposition.px, Test--spider-fail.px,
252 Test--spider-r--no-content-disposition-trivial.px,
253 Test--spider-r--no-content-disposition.px,
254 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
255 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
256 Test-HTTP-Content-Disposition-1.px,
257 Test-HTTP-Content-Disposition-2.px,
258 Test-HTTP-Content-Disposition.px,
259 Test-N--no-content-disposition-trivial.px,
260 Test-N--no-content-disposition.px,
261 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
262 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
263 Test-O--no-content-disposition-trivial.px,
264 Test-O--no-content-disposition.px,
265 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
266 Test-O.px, Test-Restrict-Lowercase.px,
267 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
268 Test-c-partial.px, Test-c.px, Test-ftp.px,
269 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
270 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
271 WgetTest.pm.in: Use whatever ports are available, rather than
274 * run-px: More summary info, explicit exit code.
276 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
279 * WgetTest.pm.in: Draw more attention to the fact that
280 WgetTest.pm is a generated file.
282 * Test-proxied-https-auth.px: Better cleanup, so next test can
285 2008-05-31 Micah Cowan <micah@cowan.name>
287 * Test-N-current.px: Ensure we catch failures.
289 * Test-N-old.px: Make it test only the timestamp, and not the
290 content length in addition.
292 * Test-N-smaller.px, Test-N-no-info.px: added.
294 * Test-c-partial.px: Improve checking that the file was
295 partially retrieved, rather than overwritten.
297 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
299 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
300 than 206 with a zero content-length.
302 2008-05-23 Micah Cowan <micah@cowan.name>
304 * Test--spider.px: Make test expect 0 return code.
306 2008-05-22 Micah Cowan <micah@cowan.name>
308 * Makefile.am (run-px-tests): Replaced ugly list of tests with
309 run-px Perl script to manage running them.
313 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
315 2008-04-26 Micah Cowan <micah@cowan.name>
317 * Makefile.am, Test-proxied-https-auth.px: Added a test for
318 accessing password-protected HTTPS URLs through a proxy (via
321 2008-04-10 Micah Cowan <micah@cowan.name>
323 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
324 accessing password-protected URLs through a proxy.
326 2008-01-25 Micah Cowan <micah@cowan.name>
328 * Makefile.am: Updated copyright year.
330 2008-01-23 Micah Cowan <micah@cowan.name>
332 * Makefile.am: Add libmd5 to unit-tests.
334 2007-11-28 Micah Cowan <micah@cowan.name>
336 * Makefile.am: Updated license exception for OpenSSL, per the
339 2007-10-18 Micah Cowan <micah@cowan.name>
341 * Makefile.am: Add dependency for unit_tests on libgnu.a.
343 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
345 * WgetTest.pm.in: wget is built in the build tree. Use an
346 absolute path to the binary.
347 * Makefile.in: Removed, replaced by Makefile.am.
348 * Makefile.am: Converted from Makefile.in.
350 2007-09-25 Micah Cowan <micah@cowan.name>
352 * Makefile.in: Use EXEEXT instead of exeext.
354 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
356 * WgetTest.pm.in: Added support for timestamping of pre-existing
359 * Test-N-current.px: Fixed broken test logic.
361 * Makefile.in: Updated list of automatically run tests.
363 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
364 option, since now HTTP Content-Disposition header support is turned
367 * Test-HTTP-Content-Disposition-1.px: Ditto.
369 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
371 * Test--spider--no-content-disposition-trivial.px: Added new tests for
372 validation of HTTP Content-Disposition header support logic. In
373 particular, these tests check wget's behavior for every combination of
374 --spider [-r] and -e contentdisposition=on/off options.
376 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
378 * Test--spider-HTTP-Content-Disposition.px: Ditto.
380 * Test--spider--no-content-disposition.px: Ditto.
382 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
384 * Test--spider-r--no-content-disposition.px: Ditto.
386 2007-07-25 Micah Cowan <micah@cowan.name>
388 * HTTPServer.pm (run, send_response): Farmed out some logic from
389 the run method into a separate one named send_response, which
390 was then modified to handle simple authentication testing.
391 (handle_auth): Added to handle simple authentication testing.
392 (verify_auth_basic): Checks to make sure Basic credentials are
394 (verify_auth_digest): Stub added; always fails test.
395 * Makefile.in: Added Test-auth-basic.px to list of automatically
397 * Test-auth-basic: Simple basic authentication test; mainly just
398 lets the server do its testing. Its current purpose is just to
399 ensure that correct basic creds are sent, but never until a
400 challenge has been sent.
402 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
404 * Test--no-content-disposition.px: Added new tests for validation of
405 HTTP Content-Disposition header support logic. In particular, these
406 tests check wget's behavior for every combination of -N/-O and -e
407 contentdisposition=on/off options.
409 * Test--no-content-disposition-trivial.px: Ditto.
411 * Test-N-HTTP-Content-Disposition.px: Ditto.
413 * Test-N--no-content-disposition.px: Ditto.
415 * Test-N--no-content-disposition-trivial.px: Ditto.
417 * Test-O-HTTP-Content-Disposition.px: Ditto.
419 * Test-O--no-content-disposition.px: Ditto.
421 * Test-O--no-content-disposition-trivial.px: Ditto.
423 2007-07-05 Micah Cowan <micah@cowan.name>
426 Updated GPL reference to version 3 or later, removed FSF
429 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
431 * FTPServer.pm: Added FTP testing support.
435 * Test-ftp.px: Ditto.
437 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
439 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
441 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
443 * Test-np.px: Added test for -np.
445 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
447 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
449 * Test1.px: Renamed to Test-noop.px.
451 * Test-noop.px: Ditto.
453 * Test2.px: Renamed to Test-N.px.
457 * Test3.px: Renamed to Test-nonexisting-quiet.px.
459 * Test-nonexisting-quiet.px: Ditto.
461 * Test4.px: Renamed to Test-O-nonexisting.px.
463 * Test-O-nonexisting.px: Ditto.
465 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
467 * Test-HTTP-Content-Disposition.px: Ditto.
469 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
471 * Test-HTTP-Content-Disposition-1.px: Ditto.
473 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
475 * Test-HTTP-Content-Disposition-2.px: Ditto.
477 * Test8.px: Replaced by Test--spider-r.px.
479 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
481 * Test-Restrict-Lowercase.px: Ditto.
483 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
485 * Test-Restrict-Uppercase.px: Ditto.
487 * Test--spider.px: Added test for spider mode.
489 * Test--spider-fail.px: Added failing test for spider mode.
491 * Test--spider-r.px: Added test for recursive spider mode.
493 * Test-c.px: Added test for --continue mode.
495 * Test-c-full.px: Added test for --continue mode.
497 * Test-c-partial.px: Added test for --continue mode.
499 * Test-O.px: Added test for -O.
501 * Test-N-current.px: Added test for -N.
503 * Test-N-old.px: Added test for -N.
505 * Test-E-k.px: Added test for -E -k.
507 * Test-E-k-K.px: Added test for -E -k -K.
509 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
511 * HTTPServer.pm: Added support for Range header.
513 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
515 * Test4.px: Fixed wrong expected behaviour.
517 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
519 * Test9.px: Added test for --restrict-file-names=lowercase option.
521 * Test10.px: Added test for --restrict-file-names=uppercase option.
523 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
525 * HTTPServer.pm: Added synchronization between client and server
526 processes to prevent the test to start before the server is ready.
528 * HTTPTest.pm: Ditto.
532 * Test1.px: Removed unneeded ../src/ from command line.
546 * Test8.px: Added test for recursive spider mode.
548 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
550 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
552 * Test.pm: Added support for command lines which use an absolute path
555 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
557 * Test5.px: Added test for HTTP Content-Disposition support.
563 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
565 * HTTPServer.pm: Serve index.html if no filename is given.
567 * Test.pm: Added support for pre-existing files.
569 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
571 * HTTPServer.pm: Enhanced logging support.
573 * HTTPTest.pm: Updated to new test format.
575 * Test.pm: Improved test setup, verification and cleanup. Major
578 * Test1.px: Updated to new test format.
580 * Test2.px: Updated to new test format.
582 * Test3.px: Added new test for quiet download of nonexistent URL.
584 * Test4.px: Added new test for quiet download of nonexistent URL with
585 --output-document option.
587 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
589 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
590 Removed the old run method and renamed the old run_daemon
591 method to run. Added support for partial
593 * Testing.pm: Renamed to HTTPTest.pm.
595 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
596 Run_HTTP_Test to run, verify_download to _verify_download
597 and added support for timestamp checking.
599 * Test.pm: Added Test class as the super class of every
602 * test1: Renamed to Test1.px.
604 * Test1.px: Refactored as an instance of the HTTPTest class.
606 * Test2.px: Added -N HTTP test.
608 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
610 * HTTPServer.pm: Added basic support for HTTP testing.
612 * Testing.pm: Added basic support for feature testing (only HTTP
613 testing is supported at the moment).
615 * test1: Added basic HTTP test.