]> sjero.net Git - wget/blob - tests/ChangeLog
Allow proxied-https-auth test to function when building outside of source dir.
[wget] / tests / ChangeLog
1 2009-06-11  Benjamin Wolsey <bwy@benjaminwolsey.de>
2
3         * Test-proxied-https-auth.px: Take an optional argument for the
4         top source directory, so we can find the cert and key.
5
6         * run-px: Provide the top source directory as an argument, so
7         scripts can find their way around.
8
9 2009-04-11  Steven Schubiger  <stsc@member.fsf.org>
10
11         * run-px: Skip testing with real rc files by setting 
12         SYSTEM_WGETRC and WGETRC to /dev/null.
13
14 2009-02-25  Benjamin Wolsey  <bwy@benjaminwolsey.de>
15
16         * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
17
18         * run-px: Include modules from srcdir.
19
20 2008-11-25  Steven Schubiger  <stsc@members.fsf.org>
21
22         * WgetTest.pm.in: Remove the magic interpreter line;
23         replace -w with lexical warnings.
24
25 2008-11-13  Steven Schubiger  <stsc@members.fsf.org>
26
27         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
28         WgetTest.pm.in: Clean up leftover whitespace.
29
30 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
31
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.
57
58         * Test-proxied-https-auth.px, run-px: Place use strict
59         before use warnings.
60
61 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
62
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.
66
67 2008-11-11  Micah Cowan  <micah@cowan.name>
68
69         * HTTPServer.pm (handle_auth): Allow testing of
70         --auth-no-challenge.
71
72         * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
73         Added.
74
75         * run-px: Add Test-auth-no-challenge.px,
76         Test-auth-no-challenge-url.px.
77
78 2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
79
80         * run-px: Use some colors for the summary part of the test
81         output to strengthen the distinction between a successful
82         or failing run.
83
84 2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
85
86         * run-px: When executing test scripts, invoke them with the
87         current perl executable name as determined by env.
88
89 2008-11-06  Micah Cowan  <micah@cowan.name>
90
91         * run-px: Use strict (thanks Steven Schubiger!).
92
93 2008-06-22  Micah Cowan  <micah@cowan.name>
94
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
98         with HTTPS support.
99
100         * certs/server-cert.pem, certs/server-key.pem: Apparently failed
101         to add these from 1.11.x repo. Fixed.
102
103 2008-06-12  Micah Cowan  <micah@cowan.name>
104
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
128         hard-coded ones.
129
130         * run-px: More summary info, explicit exit code.
131
132         * Makefile.am: Reinstate "run-px-tests" as a dependency for the
133         "check" target.
134
135         * WgetTest.pm.in: Draw more attention to the fact that
136         WgetTest.pm is a generated file.
137
138         * Test-proxied-https-auth.px: Better cleanup, so next test can
139         open the port.
140
141 2008-05-31  Micah Cowan  <micah@cowan.name>
142
143         * Test-N-current.px: Ensure we catch failures.
144
145         * Test-N-old.px: Make it test only the timestamp, and not the
146         content length in addition.
147
148         * Test-N-smaller.px, Test-N-no-info.px: added.
149
150         * Test-c-partial.px: Improve checking that the file was
151         partially retrieved, rather than overwritten.
152
153         * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
154
155         * HTTPServer.pm: Return 416 for fully-retrieved content, rather
156         than 206 with a zero content-length.
157
158 2008-05-23  Micah Cowan  <micah@cowan.name>
159
160         * Test--spider.px: Make test expect 0 return code.
161
162 2008-05-22  Micah Cowan  <micah@cowan.name>
163
164         * Makefile.am (run-px-tests): Replaced ugly list of tests with
165         run-px Perl script to manage running them.
166         
167         * run-px: Added.
168
169         * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
170
171 2008-04-26  Micah Cowan  <micah@cowan.name>
172
173         * Makefile.am, Test-proxied-https-auth.px: Added a test for
174         accessing password-protected HTTPS URLs through a proxy (via
175         CONNECT).
176
177 2008-04-10  Micah Cowan  <micah@cowan.name>
178
179         * Makefile.am, Test-proxy-auth-basic.px: Added a test for
180         accessing password-protected URLs through a proxy.
181
182 2008-01-25  Micah Cowan  <micah@cowan.name>
183
184         * Makefile.am: Updated copyright year.
185
186 2008-01-23  Micah Cowan  <micah@cowan.name>
187
188         * Makefile.am: Add libmd5 to unit-tests.
189
190 2007-11-28  Micah Cowan <micah@cowan.name>
191
192         * Makefile.am: Updated license exception for OpenSSL, per the
193         SFLC.
194
195 2007-10-18  Micah Cowan  <micah@cowan.name>
196
197         * Makefile.am: Add dependency for unit_tests on libgnu.a.
198
199 2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
200
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.
205
206 2007-09-25  Micah Cowan  <micah@cowan.name>
207
208         * Makefile.in: Use EXEEXT instead of exeext.
209
210 2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
211
212         * WgetTest.pm.in: Added support for timestamping of pre-existing
213         files.
214
215         * Test-N-current.px: Fixed broken test logic.
216
217         * Makefile.in: Updated list of automatically run tests.
218
219         * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
220         option, since now HTTP Content-Disposition header support is turned
221         off by default.
222
223         * Test-HTTP-Content-Disposition-1.px: Ditto.
224
225 2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
226
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.
231
232         * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
233
234         * Test--spider-HTTP-Content-Disposition.px: Ditto.
235
236         * Test--spider--no-content-disposition.px: Ditto.
237
238         * Test--spider-r--no-content-disposition-trivial.px: Ditto.
239
240         * Test--spider-r--no-content-disposition.px: Ditto.
241
242 2007-07-25  Micah Cowan  <micah@cowan.name>
243
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
249         valid.
250         (verify_auth_digest): Stub added; always fails test.
251         * Makefile.in: Added Test-auth-basic.px to list of automatically
252         run tests.
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.
257
258 2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
259
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.
264
265         * Test--no-content-disposition-trivial.px: Ditto.
266
267         * Test-N-HTTP-Content-Disposition.px: Ditto.
268
269         * Test-N--no-content-disposition.px: Ditto.
270
271         * Test-N--no-content-disposition-trivial.px: Ditto.
272
273         * Test-O-HTTP-Content-Disposition.px: Ditto.
274
275         * Test-O--no-content-disposition.px: Ditto.
276
277         * Test-O--no-content-disposition-trivial.px: Ditto.
278
279 2007-07-05  Micah Cowan  <micah@cowan.name>
280
281         * Makefile.in:
282         Updated GPL reference to version 3 or later, removed FSF
283         address.
284
285 2007-06-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
286
287         * FTPServer.pm: Added FTP testing support.
288
289         * FTPTest.pm: Ditto.
290
291         * Test-ftp.px: Ditto.
292
293 2006-12-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
294
295         * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
296
297 2006-11-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
298
299         * Test-np.px: Added test for -np.
300
301         * HTTPTest.pm: Ignore initial '/' character in requested URLs.
302         
303 2006-10-12  Mauro Tortonesi  <mauro@ferrara.linux.it>
304
305         * Test1.px: Renamed to Test-noop.px.
306
307         * Test-noop.px: Ditto.
308
309         * Test2.px: Renamed to Test-N.px.
310
311         * Test-N.px: Ditto.
312
313         * Test3.px: Renamed to Test-nonexisting-quiet.px.
314
315         * Test-nonexisting-quiet.px: Ditto.
316
317         * Test4.px: Renamed to Test-O-nonexisting.px.
318
319         * Test-O-nonexisting.px: Ditto.
320
321         * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
322         
323         * Test-HTTP-Content-Disposition.px: Ditto.
324         
325         * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
326         
327         * Test-HTTP-Content-Disposition-1.px: Ditto.
328         
329         * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
330
331         * Test-HTTP-Content-Disposition-2.px: Ditto.
332
333         * Test8.px: Replaced by Test--spider-r.px.
334
335         * Test9.px: Renamed to Test-Restrict-Lowercase.px.
336
337         * Test-Restrict-Lowercase.px: Ditto.
338
339         * Test10.px: Renamed to Test-Restrict-Uppercase.px.
340         
341         * Test-Restrict-Uppercase.px: Ditto.
342
343         * Test--spider.px: Added test for spider mode.
344         
345         * Test--spider-fail.px: Added failing test for spider mode.
346         
347         * Test--spider-r.px: Added test for recursive spider mode.
348
349         * Test-c.px: Added test for --continue mode.
350
351         * Test-c-full.px: Added test for --continue mode.
352
353         * Test-c-partial.px: Added test for --continue mode.
354
355         * Test-O.px: Added test for -O.
356
357         * Test-N-current.px: Added test for -N.
358         
359         * Test-N-old.px: Added test for -N.
360
361         * Test-E-k.px: Added test for -E -k.
362
363         * Test-E-k-K.px: Added test for -E -k -K.
364
365 2006-08-17  Mauro Tortonesi  <mauro@ferrara.linux.it>
366
367         * HTTPServer.pm: Added support for Range header.
368
369 2006-07-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
370
371         * Test4.px: Fixed wrong expected behaviour.
372
373 2006-06-13  Mauro Tortonesi  <mauro@ferrara.linux.it>
374
375         * Test9.px: Added test for --restrict-file-names=lowercase option.
376         
377         * Test10.px: Added test for --restrict-file-names=uppercase option.
378
379 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
380
381         * HTTPServer.pm: Added synchronization between client and server
382         processes to prevent the test to start before the server is ready.
383
384         * HTTPTest.pm: Ditto.
385
386         * Test.pm: Ditto.
387
388         * Test1.px: Removed unneeded ../src/ from command line.
389
390         * Test2.px: Ditto.
391         
392         * Test3.px: Ditto.
393         
394         * Test4.px: Ditto.
395
396         * Test5.px: Ditto.
397
398         * Test6.px: Ditto.
399
400         * Test7.px: Ditto.
401
402         * Test8.px: Added test for recursive spider mode.
403
404 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
405
406         * HTTPServer.pm: Fixed bug when returning 404. Improved logging. 
407
408         * Test.pm: Added support for command lines which use an absolute path
409         for the Wget binary.
410
411 2006-04-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
412
413         * Test5.px: Added test for HTTP Content-Disposition support.
414
415         * Test6.px: Ditto.
416         
417         * Test7.px: Ditto.
418
419 2006-04-27  Mauro Tortonesi  <mauro@ferrara.linux.it>
420         
421         * HTTPServer.pm: Serve index.html if no filename is given.
422
423         * Test.pm: Added support for pre-existing files.
424         
425 2006-01-24  Mauro Tortonesi  <mauro@ferrara.linux.it>
426
427         * HTTPServer.pm: Enhanced logging support.
428
429         * HTTPTest.pm: Updated to new test format.
430         
431         * Test.pm: Improved test setup, verification and cleanup. Major 
432         refactoring.
433         
434         * Test1.px: Updated to new test format.
435
436         * Test2.px: Updated to new test format.
437
438         * Test3.px: Added new test for quiet download of nonexistent URL.
439
440         * Test4.px: Added new test for quiet download of nonexistent URL with
441         --output-document option.
442         
443 2005-12-05  Mauro Tortonesi  <mauro@ferrara.linux.it>
444
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 
448         
449         * Testing.pm: Renamed to HTTPTest.pm.
450         
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.
454
455         * Test.pm: Added Test class as the super class of every 
456         testcase.
457
458         * test1: Renamed to Test1.px.
459         
460         * Test1.px: Refactored as an instance of the HTTPTest class.
461         
462         * Test2.px: Added -N HTTP test.
463
464 2005-11-02  Mauro Tortonesi  <mauro@ferrara.linux.it>
465
466         * HTTPServer.pm: Added basic support for HTTP testing.
467         
468         * Testing.pm: Added basic support for feature testing (only HTTP
469         testing is supported at the moment).
470
471         * test1: Added basic HTTP test.
472