1 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
3 * Test-proxied-https-auth.px: Take an optional argument for the
4 top source directory, so we can find the cert and key.
6 * run-px: Provide the top source directory as an argument, so
7 scripts can find their way around.
9 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
11 * run-px: Skip testing with real rc files by setting
12 SYSTEM_WGETRC and WGETRC to /dev/null.
14 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
16 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
18 * run-px: Include modules from srcdir.
20 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
22 * WgetTest.pm.in: Remove the magic interpreter line;
23 replace -w with lexical warnings.
25 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
27 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
28 WgetTest.pm.in: Clean up leftover whitespace.
30 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
32 * Test-auth-basic.px, Test-auth-no-challenge.px,
33 Test-auth-no-challenge-url.px, Test-c-full.px,
34 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
35 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
36 Test-HTTP-Content-Disposition-1.px,
37 Test-HTTP-Content-Disposition-2.px,
38 Test-HTTP-Content-Disposition.px, Test-N-current.px,
39 Test-N-HTTP-Content-Disposition.px,
40 Test-N--no-content-disposition.px,
41 Test-N--no-content-disposition-trivial.px,
42 Test-N-no-info.px, Test--no-content-disposition.px,
43 Test--no-content-disposition-trivial.px, Test-N-old.px,
44 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
45 Test-N.px, Test-N-smaller.px,
46 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
47 Test-O--no-content-disposition.px,
48 Test-O--no-content-disposition-trivial.px,
49 Test-O-nonexisting.px, Test-O.px,
50 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
51 Test-Restrict-Uppercase.px,
52 Test--spider-fail.pxm, Test--spider.px,
53 Test--spider-r-HTTP-Content-Disposition.px,
54 Test--spider-r--no-content-disposition.px,
55 Test--spider-r--no-content-disposition-trivial.px,
56 Test--spider-r.px: Enforce lexically scoped warnings.
58 * Test-proxied-https-auth.px, run-px: Place use strict
61 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
63 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
64 Remove the magic interpreter line, because it cannot be
65 used fully. Substitute -w with use warnings.
67 2008-11-11 Micah Cowan <micah@cowan.name>
69 * HTTPServer.pm (handle_auth): Allow testing of
72 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
75 * run-px: Add Test-auth-no-challenge.px,
76 Test-auth-no-challenge-url.px.
78 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
80 * run-px: Use some colors for the summary part of the test
81 output to strengthen the distinction between a successful
84 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
86 * run-px: When executing test scripts, invoke them with the
87 current perl executable name as determined by env.
89 2008-11-06 Micah Cowan <micah@cowan.name>
91 * run-px: Use strict (thanks Steven Schubiger!).
93 2008-06-22 Micah Cowan <micah@cowan.name>
95 * Test-proxied-https-auth.px: Shift exit code so it falls in the
96 lower bits, and actually fails when it should. Use dynamic port,
97 instead of static port. Only run the test if our Wget was built
100 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
101 to add these from 1.11.x repo. Fixed.
103 2008-06-12 Micah Cowan <micah@cowan.name>
105 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
106 Test--no-content-disposition-trivial.px,
107 Test--no-content-disposition.px, Test--spider-fail.px,
108 Test--spider-r--no-content-disposition-trivial.px,
109 Test--spider-r--no-content-disposition.px,
110 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
111 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
112 Test-HTTP-Content-Disposition-1.px,
113 Test-HTTP-Content-Disposition-2.px,
114 Test-HTTP-Content-Disposition.px,
115 Test-N--no-content-disposition-trivial.px,
116 Test-N--no-content-disposition.px,
117 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
118 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
119 Test-O--no-content-disposition-trivial.px,
120 Test-O--no-content-disposition.px,
121 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
122 Test-O.px, Test-Restrict-Lowercase.px,
123 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
124 Test-c-partial.px, Test-c.px, Test-ftp.px,
125 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
126 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
127 WgetTest.pm.in: Use whatever ports are available, rather than
130 * run-px: More summary info, explicit exit code.
132 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
135 * WgetTest.pm.in: Draw more attention to the fact that
136 WgetTest.pm is a generated file.
138 * Test-proxied-https-auth.px: Better cleanup, so next test can
141 2008-05-31 Micah Cowan <micah@cowan.name>
143 * Test-N-current.px: Ensure we catch failures.
145 * Test-N-old.px: Make it test only the timestamp, and not the
146 content length in addition.
148 * Test-N-smaller.px, Test-N-no-info.px: added.
150 * Test-c-partial.px: Improve checking that the file was
151 partially retrieved, rather than overwritten.
153 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
155 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
156 than 206 with a zero content-length.
158 2008-05-23 Micah Cowan <micah@cowan.name>
160 * Test--spider.px: Make test expect 0 return code.
162 2008-05-22 Micah Cowan <micah@cowan.name>
164 * Makefile.am (run-px-tests): Replaced ugly list of tests with
165 run-px Perl script to manage running them.
169 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
171 2008-04-26 Micah Cowan <micah@cowan.name>
173 * Makefile.am, Test-proxied-https-auth.px: Added a test for
174 accessing password-protected HTTPS URLs through a proxy (via
177 2008-04-10 Micah Cowan <micah@cowan.name>
179 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
180 accessing password-protected URLs through a proxy.
182 2008-01-25 Micah Cowan <micah@cowan.name>
184 * Makefile.am: Updated copyright year.
186 2008-01-23 Micah Cowan <micah@cowan.name>
188 * Makefile.am: Add libmd5 to unit-tests.
190 2007-11-28 Micah Cowan <micah@cowan.name>
192 * Makefile.am: Updated license exception for OpenSSL, per the
195 2007-10-18 Micah Cowan <micah@cowan.name>
197 * Makefile.am: Add dependency for unit_tests on libgnu.a.
199 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
201 * WgetTest.pm.in: wget is built in the build tree. Use an
202 absolute path to the binary.
203 * Makefile.in: Removed, replaced by Makefile.am.
204 * Makefile.am: Converted from Makefile.in.
206 2007-09-25 Micah Cowan <micah@cowan.name>
208 * Makefile.in: Use EXEEXT instead of exeext.
210 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
212 * WgetTest.pm.in: Added support for timestamping of pre-existing
215 * Test-N-current.px: Fixed broken test logic.
217 * Makefile.in: Updated list of automatically run tests.
219 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
220 option, since now HTTP Content-Disposition header support is turned
223 * Test-HTTP-Content-Disposition-1.px: Ditto.
225 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
227 * Test--spider--no-content-disposition-trivial.px: Added new tests for
228 validation of HTTP Content-Disposition header support logic. In
229 particular, these tests check wget's behavior for every combination of
230 --spider [-r] and -e contentdisposition=on/off options.
232 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
234 * Test--spider-HTTP-Content-Disposition.px: Ditto.
236 * Test--spider--no-content-disposition.px: Ditto.
238 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
240 * Test--spider-r--no-content-disposition.px: Ditto.
242 2007-07-25 Micah Cowan <micah@cowan.name>
244 * HTTPServer.pm (run, send_response): Farmed out some logic from
245 the run method into a separate one named send_response, which
246 was then modified to handle simple authentication testing.
247 (handle_auth): Added to handle simple authentication testing.
248 (verify_auth_basic): Checks to make sure Basic credentials are
250 (verify_auth_digest): Stub added; always fails test.
251 * Makefile.in: Added Test-auth-basic.px to list of automatically
253 * Test-auth-basic: Simple basic authentication test; mainly just
254 lets the server do its testing. Its current purpose is just to
255 ensure that correct basic creds are sent, but never until a
256 challenge has been sent.
258 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
260 * Test--no-content-disposition.px: Added new tests for validation of
261 HTTP Content-Disposition header support logic. In particular, these
262 tests check wget's behavior for every combination of -N/-O and -e
263 contentdisposition=on/off options.
265 * Test--no-content-disposition-trivial.px: Ditto.
267 * Test-N-HTTP-Content-Disposition.px: Ditto.
269 * Test-N--no-content-disposition.px: Ditto.
271 * Test-N--no-content-disposition-trivial.px: Ditto.
273 * Test-O-HTTP-Content-Disposition.px: Ditto.
275 * Test-O--no-content-disposition.px: Ditto.
277 * Test-O--no-content-disposition-trivial.px: Ditto.
279 2007-07-05 Micah Cowan <micah@cowan.name>
282 Updated GPL reference to version 3 or later, removed FSF
285 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
287 * FTPServer.pm: Added FTP testing support.
291 * Test-ftp.px: Ditto.
293 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
295 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
297 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
299 * Test-np.px: Added test for -np.
301 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
303 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
305 * Test1.px: Renamed to Test-noop.px.
307 * Test-noop.px: Ditto.
309 * Test2.px: Renamed to Test-N.px.
313 * Test3.px: Renamed to Test-nonexisting-quiet.px.
315 * Test-nonexisting-quiet.px: Ditto.
317 * Test4.px: Renamed to Test-O-nonexisting.px.
319 * Test-O-nonexisting.px: Ditto.
321 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
323 * Test-HTTP-Content-Disposition.px: Ditto.
325 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
327 * Test-HTTP-Content-Disposition-1.px: Ditto.
329 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
331 * Test-HTTP-Content-Disposition-2.px: Ditto.
333 * Test8.px: Replaced by Test--spider-r.px.
335 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
337 * Test-Restrict-Lowercase.px: Ditto.
339 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
341 * Test-Restrict-Uppercase.px: Ditto.
343 * Test--spider.px: Added test for spider mode.
345 * Test--spider-fail.px: Added failing test for spider mode.
347 * Test--spider-r.px: Added test for recursive spider mode.
349 * Test-c.px: Added test for --continue mode.
351 * Test-c-full.px: Added test for --continue mode.
353 * Test-c-partial.px: Added test for --continue mode.
355 * Test-O.px: Added test for -O.
357 * Test-N-current.px: Added test for -N.
359 * Test-N-old.px: Added test for -N.
361 * Test-E-k.px: Added test for -E -k.
363 * Test-E-k-K.px: Added test for -E -k -K.
365 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
367 * HTTPServer.pm: Added support for Range header.
369 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
371 * Test4.px: Fixed wrong expected behaviour.
373 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
375 * Test9.px: Added test for --restrict-file-names=lowercase option.
377 * Test10.px: Added test for --restrict-file-names=uppercase option.
379 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
381 * HTTPServer.pm: Added synchronization between client and server
382 processes to prevent the test to start before the server is ready.
384 * HTTPTest.pm: Ditto.
388 * Test1.px: Removed unneeded ../src/ from command line.
402 * Test8.px: Added test for recursive spider mode.
404 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
406 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
408 * Test.pm: Added support for command lines which use an absolute path
411 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
413 * Test5.px: Added test for HTTP Content-Disposition support.
419 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
421 * HTTPServer.pm: Serve index.html if no filename is given.
423 * Test.pm: Added support for pre-existing files.
425 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
427 * HTTPServer.pm: Enhanced logging support.
429 * HTTPTest.pm: Updated to new test format.
431 * Test.pm: Improved test setup, verification and cleanup. Major
434 * Test1.px: Updated to new test format.
436 * Test2.px: Updated to new test format.
438 * Test3.px: Added new test for quiet download of nonexistent URL.
440 * Test4.px: Added new test for quiet download of nonexistent URL with
441 --output-document option.
443 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
445 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
446 Removed the old run method and renamed the old run_daemon
447 method to run. Added support for partial
449 * Testing.pm: Renamed to HTTPTest.pm.
451 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
452 Run_HTTP_Test to run, verify_download to _verify_download
453 and added support for timestamp checking.
455 * Test.pm: Added Test class as the super class of every
458 * test1: Renamed to Test1.px.
460 * Test1.px: Refactored as an instance of the HTTPTest class.
462 * Test2.px: Added -N HTTP test.
464 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
466 * HTTPServer.pm: Added basic support for HTTP testing.
468 * Testing.pm: Added basic support for feature testing (only HTTP
469 testing is supported at the moment).
471 * test1: Added basic HTTP test.