1 2009-06-14 Micah Cowan <micah@cowan.name>
3 * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
4 certs/, to make distcheck happy.
6 2009-06-11 Benjamin Wolsey <bwy@benjaminwolsey.de>
8 * Test-proxied-https-auth.px: Take an optional argument for the
9 top source directory, so we can find the cert and key.
11 * run-px: Provide the top source directory as an argument, so
12 scripts can find their way around.
14 2009-04-11 Steven Schubiger <stsc@member.fsf.org>
16 * run-px: Skip testing with real rc files by setting
17 SYSTEM_WGETRC and WGETRC to /dev/null.
19 2009-02-25 Benjamin Wolsey <bwy@benjaminwolsey.de>
21 * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
23 * run-px: Include modules from srcdir.
25 2008-11-25 Steven Schubiger <stsc@members.fsf.org>
27 * WgetTest.pm.in: Remove the magic interpreter line;
28 replace -w with lexical warnings.
30 2008-11-13 Steven Schubiger <stsc@members.fsf.org>
32 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
33 WgetTest.pm.in: Clean up leftover whitespace.
35 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
37 * Test-auth-basic.px, Test-auth-no-challenge.px,
38 Test-auth-no-challenge-url.px, Test-c-full.px,
39 Test-c-partial.px, Test-c.px, Test-c-shorter.px,
40 Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
41 Test-HTTP-Content-Disposition-1.px,
42 Test-HTTP-Content-Disposition-2.px,
43 Test-HTTP-Content-Disposition.px, Test-N-current.px,
44 Test-N-HTTP-Content-Disposition.px,
45 Test-N--no-content-disposition.px,
46 Test-N--no-content-disposition-trivial.px,
47 Test-N-no-info.px, Test--no-content-disposition.px,
48 Test--no-content-disposition-trivial.px, Test-N-old.px,
49 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
50 Test-N.px, Test-N-smaller.px,
51 Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
52 Test-O--no-content-disposition.px,
53 Test-O--no-content-disposition-trivial.px,
54 Test-O-nonexisting.px, Test-O.px,
55 Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
56 Test-Restrict-Uppercase.px,
57 Test--spider-fail.pxm, Test--spider.px,
58 Test--spider-r-HTTP-Content-Disposition.px,
59 Test--spider-r--no-content-disposition.px,
60 Test--spider-r--no-content-disposition-trivial.px,
61 Test--spider-r.px: Enforce lexically scoped warnings.
63 * Test-proxied-https-auth.px, run-px: Place use strict
66 2008-11-12 Steven Schubiger <stsc@members.fsf.org>
68 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
69 Remove the magic interpreter line, because it cannot be
70 used fully. Substitute -w with use warnings.
72 2008-11-11 Micah Cowan <micah@cowan.name>
74 * HTTPServer.pm (handle_auth): Allow testing of
77 * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
80 * run-px: Add Test-auth-no-challenge.px,
81 Test-auth-no-challenge-url.px.
83 2008-11-07 Steven Schubiger <stsc@members.fsf.org>
85 * run-px: Use some colors for the summary part of the test
86 output to strengthen the distinction between a successful
89 2008-11-06 Steven Schubiger <stsc@members.fsf.org>
91 * run-px: When executing test scripts, invoke them with the
92 current perl executable name as determined by env.
94 2008-11-06 Micah Cowan <micah@cowan.name>
96 * run-px: Use strict (thanks Steven Schubiger!).
98 2008-06-22 Micah Cowan <micah@cowan.name>
100 * Test-proxied-https-auth.px: Shift exit code so it falls in the
101 lower bits, and actually fails when it should. Use dynamic port,
102 instead of static port. Only run the test if our Wget was built
105 * certs/server-cert.pem, certs/server-key.pem: Apparently failed
106 to add these from 1.11.x repo. Fixed.
108 2008-06-12 Micah Cowan <micah@cowan.name>
110 * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
111 Test--no-content-disposition-trivial.px,
112 Test--no-content-disposition.px, Test--spider-fail.px,
113 Test--spider-r--no-content-disposition-trivial.px,
114 Test--spider-r--no-content-disposition.px,
115 Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
116 Test--spider.px, Test-E-k-K.px, Test-E-k.px,
117 Test-HTTP-Content-Disposition-1.px,
118 Test-HTTP-Content-Disposition-2.px,
119 Test-HTTP-Content-Disposition.px,
120 Test-N--no-content-disposition-trivial.px,
121 Test-N--no-content-disposition.px,
122 Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
123 Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
124 Test-O--no-content-disposition-trivial.px,
125 Test-O--no-content-disposition.px,
126 Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
127 Test-O.px, Test-Restrict-Lowercase.px,
128 Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
129 Test-c-partial.px, Test-c.px, Test-ftp.px,
130 Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
131 Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
132 WgetTest.pm.in: Use whatever ports are available, rather than
135 * run-px: More summary info, explicit exit code.
137 * Makefile.am: Reinstate "run-px-tests" as a dependency for the
140 * WgetTest.pm.in: Draw more attention to the fact that
141 WgetTest.pm is a generated file.
143 * Test-proxied-https-auth.px: Better cleanup, so next test can
146 2008-05-31 Micah Cowan <micah@cowan.name>
148 * Test-N-current.px: Ensure we catch failures.
150 * Test-N-old.px: Make it test only the timestamp, and not the
151 content length in addition.
153 * Test-N-smaller.px, Test-N-no-info.px: added.
155 * Test-c-partial.px: Improve checking that the file was
156 partially retrieved, rather than overwritten.
158 * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
160 * HTTPServer.pm: Return 416 for fully-retrieved content, rather
161 than 206 with a zero content-length.
163 2008-05-23 Micah Cowan <micah@cowan.name>
165 * Test--spider.px: Make test expect 0 return code.
167 2008-05-22 Micah Cowan <micah@cowan.name>
169 * Makefile.am (run-px-tests): Replaced ugly list of tests with
170 run-px Perl script to manage running them.
174 * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
176 2008-04-26 Micah Cowan <micah@cowan.name>
178 * Makefile.am, Test-proxied-https-auth.px: Added a test for
179 accessing password-protected HTTPS URLs through a proxy (via
182 2008-04-10 Micah Cowan <micah@cowan.name>
184 * Makefile.am, Test-proxy-auth-basic.px: Added a test for
185 accessing password-protected URLs through a proxy.
187 2008-01-25 Micah Cowan <micah@cowan.name>
189 * Makefile.am: Updated copyright year.
191 2008-01-23 Micah Cowan <micah@cowan.name>
193 * Makefile.am: Add libmd5 to unit-tests.
195 2007-11-28 Micah Cowan <micah@cowan.name>
197 * Makefile.am: Updated license exception for OpenSSL, per the
200 2007-10-18 Micah Cowan <micah@cowan.name>
202 * Makefile.am: Add dependency for unit_tests on libgnu.a.
204 2007-10-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
206 * WgetTest.pm.in: wget is built in the build tree. Use an
207 absolute path to the binary.
208 * Makefile.in: Removed, replaced by Makefile.am.
209 * Makefile.am: Converted from Makefile.in.
211 2007-09-25 Micah Cowan <micah@cowan.name>
213 * Makefile.in: Use EXEEXT instead of exeext.
215 2007-08-21 Mauro Tortonesi <mauro@ferrara.linux.it>
217 * WgetTest.pm.in: Added support for timestamping of pre-existing
220 * Test-N-current.px: Fixed broken test logic.
222 * Makefile.in: Updated list of automatically run tests.
224 * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
225 option, since now HTTP Content-Disposition header support is turned
228 * Test-HTTP-Content-Disposition-1.px: Ditto.
230 2007-08-10 Mauro Tortonesi <mauro@ferrara.linux.it>
232 * Test--spider--no-content-disposition-trivial.px: Added new tests for
233 validation of HTTP Content-Disposition header support logic. In
234 particular, these tests check wget's behavior for every combination of
235 --spider [-r] and -e contentdisposition=on/off options.
237 * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
239 * Test--spider-HTTP-Content-Disposition.px: Ditto.
241 * Test--spider--no-content-disposition.px: Ditto.
243 * Test--spider-r--no-content-disposition-trivial.px: Ditto.
245 * Test--spider-r--no-content-disposition.px: Ditto.
247 2007-07-25 Micah Cowan <micah@cowan.name>
249 * HTTPServer.pm (run, send_response): Farmed out some logic from
250 the run method into a separate one named send_response, which
251 was then modified to handle simple authentication testing.
252 (handle_auth): Added to handle simple authentication testing.
253 (verify_auth_basic): Checks to make sure Basic credentials are
255 (verify_auth_digest): Stub added; always fails test.
256 * Makefile.in: Added Test-auth-basic.px to list of automatically
258 * Test-auth-basic: Simple basic authentication test; mainly just
259 lets the server do its testing. Its current purpose is just to
260 ensure that correct basic creds are sent, but never until a
261 challenge has been sent.
263 2007-07-10 Mauro Tortonesi <mauro@ferrara.linux.it>
265 * Test--no-content-disposition.px: Added new tests for validation of
266 HTTP Content-Disposition header support logic. In particular, these
267 tests check wget's behavior for every combination of -N/-O and -e
268 contentdisposition=on/off options.
270 * Test--no-content-disposition-trivial.px: Ditto.
272 * Test-N-HTTP-Content-Disposition.px: Ditto.
274 * Test-N--no-content-disposition.px: Ditto.
276 * Test-N--no-content-disposition-trivial.px: Ditto.
278 * Test-O-HTTP-Content-Disposition.px: Ditto.
280 * Test-O--no-content-disposition.px: Ditto.
282 * Test-O--no-content-disposition-trivial.px: Ditto.
284 2007-07-05 Micah Cowan <micah@cowan.name>
287 Updated GPL reference to version 3 or later, removed FSF
290 2007-06-14 Mauro Tortonesi <mauro@ferrara.linux.it>
292 * FTPServer.pm: Added FTP testing support.
296 * Test-ftp.px: Ditto.
298 2006-12-22 Mauro Tortonesi <mauro@ferrara.linux.it>
300 * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
302 2006-11-10 Mauro Tortonesi <mauro@ferrara.linux.it>
304 * Test-np.px: Added test for -np.
306 * HTTPTest.pm: Ignore initial '/' character in requested URLs.
308 2006-10-12 Mauro Tortonesi <mauro@ferrara.linux.it>
310 * Test1.px: Renamed to Test-noop.px.
312 * Test-noop.px: Ditto.
314 * Test2.px: Renamed to Test-N.px.
318 * Test3.px: Renamed to Test-nonexisting-quiet.px.
320 * Test-nonexisting-quiet.px: Ditto.
322 * Test4.px: Renamed to Test-O-nonexisting.px.
324 * Test-O-nonexisting.px: Ditto.
326 * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
328 * Test-HTTP-Content-Disposition.px: Ditto.
330 * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
332 * Test-HTTP-Content-Disposition-1.px: Ditto.
334 * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
336 * Test-HTTP-Content-Disposition-2.px: Ditto.
338 * Test8.px: Replaced by Test--spider-r.px.
340 * Test9.px: Renamed to Test-Restrict-Lowercase.px.
342 * Test-Restrict-Lowercase.px: Ditto.
344 * Test10.px: Renamed to Test-Restrict-Uppercase.px.
346 * Test-Restrict-Uppercase.px: Ditto.
348 * Test--spider.px: Added test for spider mode.
350 * Test--spider-fail.px: Added failing test for spider mode.
352 * Test--spider-r.px: Added test for recursive spider mode.
354 * Test-c.px: Added test for --continue mode.
356 * Test-c-full.px: Added test for --continue mode.
358 * Test-c-partial.px: Added test for --continue mode.
360 * Test-O.px: Added test for -O.
362 * Test-N-current.px: Added test for -N.
364 * Test-N-old.px: Added test for -N.
366 * Test-E-k.px: Added test for -E -k.
368 * Test-E-k-K.px: Added test for -E -k -K.
370 2006-08-17 Mauro Tortonesi <mauro@ferrara.linux.it>
372 * HTTPServer.pm: Added support for Range header.
374 2006-07-14 Mauro Tortonesi <mauro@ferrara.linux.it>
376 * Test4.px: Fixed wrong expected behaviour.
378 2006-06-13 Mauro Tortonesi <mauro@ferrara.linux.it>
380 * Test9.px: Added test for --restrict-file-names=lowercase option.
382 * Test10.px: Added test for --restrict-file-names=uppercase option.
384 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
386 * HTTPServer.pm: Added synchronization between client and server
387 processes to prevent the test to start before the server is ready.
389 * HTTPTest.pm: Ditto.
393 * Test1.px: Removed unneeded ../src/ from command line.
407 * Test8.px: Added test for recursive spider mode.
409 2006-05-26 Mauro Tortonesi <mauro@ferrara.linux.it>
411 * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
413 * Test.pm: Added support for command lines which use an absolute path
416 2006-04-28 Mauro Tortonesi <mauro@ferrara.linux.it>
418 * Test5.px: Added test for HTTP Content-Disposition support.
424 2006-04-27 Mauro Tortonesi <mauro@ferrara.linux.it>
426 * HTTPServer.pm: Serve index.html if no filename is given.
428 * Test.pm: Added support for pre-existing files.
430 2006-01-24 Mauro Tortonesi <mauro@ferrara.linux.it>
432 * HTTPServer.pm: Enhanced logging support.
434 * HTTPTest.pm: Updated to new test format.
436 * Test.pm: Improved test setup, verification and cleanup. Major
439 * Test1.px: Updated to new test format.
441 * Test2.px: Updated to new test format.
443 * Test3.px: Added new test for quiet download of nonexistent URL.
445 * Test4.px: Added new test for quiet download of nonexistent URL with
446 --output-document option.
448 2005-12-05 Mauro Tortonesi <mauro@ferrara.linux.it>
450 * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
451 Removed the old run method and renamed the old run_daemon
452 method to run. Added support for partial
454 * Testing.pm: Renamed to HTTPTest.pm.
456 * HTTPTest.pm: Refactored as a subclass of Test. Renamed
457 Run_HTTP_Test to run, verify_download to _verify_download
458 and added support for timestamp checking.
460 * Test.pm: Added Test class as the super class of every
463 * test1: Renamed to Test1.px.
465 * Test1.px: Refactored as an instance of the HTTPTest class.
467 * Test2.px: Added -N HTTP test.
469 2005-11-02 Mauro Tortonesi <mauro@ferrara.linux.it>
471 * HTTPServer.pm: Added basic support for HTTP testing.
473 * Testing.pm: Added basic support for feature testing (only HTTP
474 testing is supported at the moment).
476 * test1: Added basic HTTP test.