1 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
3 * run-px: Skip testing with real rc files by setting
4 SYSTEM_WGETRC and WGETRC to /dev/null.
6 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
8 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
10 * run-px: Include modules from srcdir.
12 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
14 * WgetTest.pm.in: Remove the magic interpreter line;
15 replace -w with lexical warnings.
17 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
19 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
20 WgetTest.pm.in: Clean up leftover whitespace.
22 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
24 * Test-auth-basic.px, Test-auth-no-challenge.px,
25 Test-auth-no-challenge-url.px, Test-c-full.px,
26 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
27 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
28 Test-HTTP-Content-Disposition-1.px,
29 Test-HTTP-Content-Disposition-2.px,
30 Test-HTTP-Content-Disposition.px, Test-N-current.px,
31 Test-N-HTTP-Content-Disposition.px,
32 Test-N--no-content-disposition.px,
33 Test-N--no-content-disposition-trivial.px,
34 Test-N-no-info.px, Test--no-content-disposition.px,
35 Test--no-content-disposition-trivial.px, Test-N-old.px,
36 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
37 Test-N.px, Test-N-smaller.px,
38 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
39 Test-O--no-content-disposition.px,
40 Test-O--no-content-disposition-trivial.px,
41 Test-O-nonexisting.px, Test-O.px,
42 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
43 Test-Restrict-Uppercase.px,
44 Test--spider-fail.pxm, Test--spider.px,
45 Test--spider-r-HTTP-Content-Disposition.px,
46 Test--spider-r--no-content-disposition.px,
47 Test--spider-r--no-content-disposition-trivial.px,
48 Test--spider-r.px: Enforce lexically scoped warnings.
50 * Test-proxied-https-auth.px, run-px: Place use strict
53 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
55 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
56 Remove the magic interpreter line, because it cannot be
57 used fully. Substitute -w with use warnings.
59 2008-11-11 Micah Cowan <micah@cowan.name>
61 * HTTPServer.pm (handle_auth): Allow testing of
64 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
67 * run-px: Add Test-auth-no-challenge.px,
68 Test-auth-no-challenge-url.px.
70 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
72 * run-px: Use some colors for the summary part of the test
73 output to strengthen the distinction between a successful
76 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
78 * run-px: When executing test scripts, invoke them with the
79 current perl executable name as determined by env.
81 2008-11-06 Micah Cowan <micah@cowan.name>
83 * run-px: Use strict (thanks Steven Schubiger!).
85 2008-06-22 Micah Cowan <micah@cowan.name>
87 * Test-proxied-https-auth.px: Shift exit code so it falls in the
88 lower bits, and actually fails when it should. Use dynamic port,
89 instead of static port. Only run the test if our Wget was built
92 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
93 to add these from 1.11.x repo. Fixed.
95 2008-06-12 Micah Cowan <micah@cowan.name>
97 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
98 Test--no-content-disposition-trivial.px,
99 Test--no-content-disposition.px, Test--spider-fail.px,
100 Test--spider-r--no-content-disposition-trivial.px,
101 Test--spider-r--no-content-disposition.px,
102 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
103 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
104 Test-HTTP-Content-Disposition-1.px,
105 Test-HTTP-Content-Disposition-2.px,
106 Test-HTTP-Content-Disposition.px,
107 Test-N--no-content-disposition-trivial.px,
108 Test-N--no-content-disposition.px,
109 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
110 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
111 Test-O--no-content-disposition-trivial.px,
112 Test-O--no-content-disposition.px,
113 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
114 Test-O.px, Test-Restrict-Lowercase.px,
115 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
116 Test-c-partial.px, Test-c.px, Test-ftp.px,
117 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
118 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
119 WgetTest.pm.in: Use whatever ports are available, rather than
122 * run-px: More summary info, explicit exit code.
124 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
127 * WgetTest.pm.in: Draw more attention to the fact that
128 WgetTest.pm is a generated file.
130 * Test-proxied-https-auth.px: Better cleanup, so next test can
133 2008-05-31 Micah Cowan <micah@cowan.name>
135 * Test-N-current.px: Ensure we catch failures.
137 * Test-N-old.px: Make it test only the timestamp, and not the
138 content length in addition.
140 * Test-N-smaller.px, Test-N-no-info.px: added.
142 * Test-c-partial.px: Improve checking that the file was
143 partially retrieved, rather than overwritten.
145 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
147 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
148 than 206 with a zero content-length.
150 2008-05-23 Micah Cowan <micah@cowan.name>
152 * Test--spider.px: Make test expect 0 return code.
154 2008-05-22 Micah Cowan <micah@cowan.name>
156 * Makefile.am (run-px-tests): Replaced ugly list of tests with
157 run-px Perl script to manage running them.
161 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
163 2008-04-26 Micah Cowan <micah@cowan.name>
165 * Makefile.am, Test-proxied-https-auth.px: Added a test for
166 accessing password-protected HTTPS URLs through a proxy (via
169 2008-04-10 Micah Cowan <micah@cowan.name>
171 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
172 accessing password-protected URLs through a proxy.
174 2008-01-25 Micah Cowan <micah@cowan.name>
176 * Makefile.am: Updated copyright year.
178 2008-01-23 Micah Cowan <micah@cowan.name>
180 * Makefile.am: Add libmd5 to unit-tests.
182 2007-11-28 Micah Cowan <micah@cowan.name>
184 * Makefile.am: Updated license exception for OpenSSL, per the
187 2007-10-18 Micah Cowan <micah@cowan.name>
189 * Makefile.am: Add dependency for unit_tests on libgnu.a.
191 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
193 * WgetTest.pm.in: wget is built in the build tree. Use an
194 absolute path to the binary.
195 * Makefile.in: Removed, replaced by Makefile.am.
196 * Makefile.am: Converted from Makefile.in.
198 2007-09-25 Micah Cowan <micah@cowan.name>
200 * Makefile.in: Use EXEEXT instead of exeext.
202 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
204 * WgetTest.pm.in: Added support for timestamping of pre-existing
207 * Test-N-current.px: Fixed broken test logic.
209 * Makefile.in: Updated list of automatically run tests.
211 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
212 option, since now HTTP Content-Disposition header support is turned
215 * Test-HTTP-Content-Disposition-1.px: Ditto.
217 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
219 * Test--spider--no-content-disposition-trivial.px: Added new tests for
220 validation of HTTP Content-Disposition header support logic. In
221 particular, these tests check wget's behavior for every combination of
222 --spider [-r] and -e contentdisposition=on/off options.
224 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
226 * Test--spider-HTTP-Content-Disposition.px: Ditto.
228 * Test--spider--no-content-disposition.px: Ditto.
230 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
232 * Test--spider-r--no-content-disposition.px: Ditto.
234 2007-07-25 Micah Cowan <micah@cowan.name>
236 * HTTPServer.pm (run, send_response): Farmed out some logic from
237 the run method into a separate one named send_response, which
238 was then modified to handle simple authentication testing.
239 (handle_auth): Added to handle simple authentication testing.
240 (verify_auth_basic): Checks to make sure Basic credentials are
242 (verify_auth_digest): Stub added; always fails test.
243 * Makefile.in: Added Test-auth-basic.px to list of automatically
245 * Test-auth-basic: Simple basic authentication test; mainly just
246 lets the server do its testing. Its current purpose is just to
247 ensure that correct basic creds are sent, but never until a
248 challenge has been sent.
250 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
252 * Test--no-content-disposition.px: Added new tests for validation of
253 HTTP Content-Disposition header support logic. In particular, these
254 tests check wget's behavior for every combination of -N/-O and -e
255 contentdisposition=on/off options.
257 * Test--no-content-disposition-trivial.px: Ditto.
259 * Test-N-HTTP-Content-Disposition.px: Ditto.
261 * Test-N--no-content-disposition.px: Ditto.
263 * Test-N--no-content-disposition-trivial.px: Ditto.
265 * Test-O-HTTP-Content-Disposition.px: Ditto.
267 * Test-O--no-content-disposition.px: Ditto.
269 * Test-O--no-content-disposition-trivial.px: Ditto.
271 2007-07-05 Micah Cowan <micah@cowan.name>
274 Updated GPL reference to version 3 or later, removed FSF
277 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
279 * FTPServer.pm: Added FTP testing support.
283 * Test-ftp.px: Ditto.
285 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
287 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
289 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
291 * Test-np.px: Added test for -np.
293 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
295 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
297 * Test1.px: Renamed to Test-noop.px.
299 * Test-noop.px: Ditto.
301 * Test2.px: Renamed to Test-N.px.
305 * Test3.px: Renamed to Test-nonexisting-quiet.px.
307 * Test-nonexisting-quiet.px: Ditto.
309 * Test4.px: Renamed to Test-O-nonexisting.px.
311 * Test-O-nonexisting.px: Ditto.
313 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
315 * Test-HTTP-Content-Disposition.px: Ditto.
317 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
319 * Test-HTTP-Content-Disposition-1.px: Ditto.
321 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
323 * Test-HTTP-Content-Disposition-2.px: Ditto.
325 * Test8.px: Replaced by Test--spider-r.px.
327 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
329 * Test-Restrict-Lowercase.px: Ditto.
331 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
333 * Test-Restrict-Uppercase.px: Ditto.
335 * Test--spider.px: Added test for spider mode.
337 * Test--spider-fail.px: Added failing test for spider mode.
339 * Test--spider-r.px: Added test for recursive spider mode.
341 * Test-c.px: Added test for --continue mode.
343 * Test-c-full.px: Added test for --continue mode.
345 * Test-c-partial.px: Added test for --continue mode.
347 * Test-O.px: Added test for -O.
349 * Test-N-current.px: Added test for -N.
351 * Test-N-old.px: Added test for -N.
353 * Test-E-k.px: Added test for -E -k.
355 * Test-E-k-K.px: Added test for -E -k -K.
357 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
359 * HTTPServer.pm: Added support for Range header.
361 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
363 * Test4.px: Fixed wrong expected behaviour.
365 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
367 * Test9.px: Added test for --restrict-file-names=lowercase option.
369 * Test10.px: Added test for --restrict-file-names=uppercase option.
371 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
373 * HTTPServer.pm: Added synchronization between client and server
374 processes to prevent the test to start before the server is ready.
376 * HTTPTest.pm: Ditto.
380 * Test1.px: Removed unneeded ../src/ from command line.
394 * Test8.px: Added test for recursive spider mode.
396 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
398 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
400 * Test.pm: Added support for command lines which use an absolute path
403 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
405 * Test5.px: Added test for HTTP Content-Disposition support.
411 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
413 * HTTPServer.pm: Serve index.html if no filename is given.
415 * Test.pm: Added support for pre-existing files.
417 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
419 * HTTPServer.pm: Enhanced logging support.
421 * HTTPTest.pm: Updated to new test format.
423 * Test.pm: Improved test setup, verification and cleanup. Major
426 * Test1.px: Updated to new test format.
428 * Test2.px: Updated to new test format.
430 * Test3.px: Added new test for quiet download of nonexistent URL.
432 * Test4.px: Added new test for quiet download of nonexistent URL with
433 --output-document option.
435 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
437 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
438 Removed the old run method and renamed the old run_daemon
439 method to run. Added support for partial
441 * Testing.pm: Renamed to HTTPTest.pm.
443 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
444 Run_HTTP_Test to run, verify_download to _verify_download
445 and added support for timestamp checking.
447 * Test.pm: Added Test class as the super class of every
450 * test1: Renamed to Test1.px.
452 * Test1.px: Refactored as an instance of the HTTPTest class.
454 * Test2.px: Added -N HTTP test.
456 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
458 * HTTPServer.pm: Added basic support for HTTP testing.
460 * Testing.pm: Added basic support for feature testing (only HTTP
461 testing is supported at the moment).
463 * test1: Added basic HTTP test.