]> sjero.net Git - wget/blob - tests/ChangeLog
Merge with mainline.
[wget] / tests / ChangeLog
1 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
2
3         * Test-auth-basic.px, Test-auth-no-challenge.px,
4         Test-auth-no-challenge-url.px, Test-c-full.px,
5         Test-c-partial.px, Test-c.px, Test-c-shorter.px,
6         Test-E-k-K.px, Test-E-k.px, Test-ftp.px, 
7         Test-HTTP-Content-Disposition-1.px, 
8         Test-HTTP-Content-Disposition-2.px,
9         Test-HTTP-Content-Disposition.px, Test-N-current.px,
10         Test-N-HTTP-Content-Disposition.px,
11         Test-N--no-content-disposition.px,
12         Test-N--no-content-disposition-trivial.px,
13         Test-N-no-info.px, Test--no-content-disposition.px,
14         Test--no-content-disposition-trivial.px, Test-N-old.px,
15         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
16         Test-N.px, Test-N-smaller.px, 
17         Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
18         Test-O--no-content-disposition.px, 
19         Test-O--no-content-disposition-trivial.px,
20         Test-O-nonexisting.px, Test-O.px,
21         Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
22         Test-Restrict-Uppercase.px,
23         Test--spider-fail.pxm, Test--spider.px,
24         Test--spider-r-HTTP-Content-Disposition.px,
25         Test--spider-r--no-content-disposition.px,
26         Test--spider-r--no-content-disposition-trivial.px,
27         Test--spider-r.px: Enforce lexically scoped warnings.
28
29         * Test-proxied-https-auth.px, run-px: Place use strict
30         before use warnings.
31
32 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
33
34         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
35         Remove the magic interpreter line, because it cannot be
36         used fully. Substitute -w with use warnings.
37
38 2008-11-11  Micah Cowan  <micah@cowan.name>
39
40         * HTTPServer.pm (handle_auth): Allow testing of
41         --auth-no-challenge.
42
43         * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
44         Added.
45
46         * run-px: Add Test-auth-no-challenge.px,
47         Test-auth-no-challenge-url.px.
48
49 2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
50
51         * run-px: Use some colors for the summary part of the test
52         output to strengthen the distinction between a successful
53         or failing run.
54
55 2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
56
57         * run-px: When executing test scripts, invoke them with the
58         current perl executable name as determined by env.
59
60 2008-11-06  Micah Cowan  <micah@cowan.name>
61
62         * run-px: Use strict (thanks Steven Schubiger!).
63
64 2008-09-09  Micah Cowan  <micah@cowan.name>
65
66         * Test-idn-cmd.px: Added.
67
68         * run-px: Added Test-idn-cmd.px.
69
70 2008-08-28  Micah Cowan  <micah@cowan.name>
71
72         * HTTPServer.pm (run): Allow distinguishing between hostnames,
73         when used as a proxy.
74
75         * Test-idn-headers.px, Test-idn-meta.px: Added.
76
77         * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
78
79         * Test-proxy-auth-basic.px: Use the full URL, rather than just the
80         path (made necessary by the accompanying change to HTTPServer.pm).
81
82 2008-08-14  Xavier Saint <wget@sxav.eu>
83         
84         * Test-iri-list.px : Fetch files from a remote list.
85
86 2008-08-03  Xavier Saint <wget@sxav.eu>
87
88         * Test-iri.px : HTTP recursive fetch for testing IRI support and
89         fallback.
90
91         * Test-iri-disabled.px : Same file structure as Test-iri.px but with
92         IRI support disabled
93
94         * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
95         and ISO-8859-15 for character 0xA4 (respectively currency sign and
96         euro sign). So with a forced ISO-8859-1 remote encoding, wget should
97         see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
98         of using the ISO-8859-15 given by the server.
99
100         * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
101         and expect wget to fetch the file UTF-8 encoded.
102
103         * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
104         locale encoding to fetch the file.
105
106         * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
107         disabled. The UTF-8 encoded file should not be retrieved.
108
109 2008-06-22  Micah Cowan  <micah@cowan.name>
110
111         * Test-proxied-https-auth.px: Shift exit code so it falls in the
112         lower bits, and actually fails when it should. Use dynamic port,
113         instead of static port. Only run the test if our Wget was built
114         with HTTPS support.
115
116         * certs/server-cert.pem, certs/server-key.pem: Apparently failed
117         to add these from 1.11.x repo. Fixed.
118
119 2008-06-12  Micah Cowan  <micah@cowan.name>
120
121         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
122         Test--no-content-disposition-trivial.px,
123         Test--no-content-disposition.px, Test--spider-fail.px,
124         Test--spider-r--no-content-disposition-trivial.px,
125         Test--spider-r--no-content-disposition.px,
126         Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
127         Test--spider.px, Test-E-k-K.px, Test-E-k.px,
128         Test-HTTP-Content-Disposition-1.px,
129         Test-HTTP-Content-Disposition-2.px,
130         Test-HTTP-Content-Disposition.px,
131         Test-N--no-content-disposition-trivial.px,
132         Test-N--no-content-disposition.px,
133         Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
134         Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
135         Test-O--no-content-disposition-trivial.px,
136         Test-O--no-content-disposition.px,
137         Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
138         Test-O.px, Test-Restrict-Lowercase.px,
139         Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
140         Test-c-partial.px, Test-c.px, Test-ftp.px,
141         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
142         Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
143         WgetTest.pm.in: Use whatever ports are available, rather than
144         hard-coded ones.
145
146         * run-px: More summary info, explicit exit code.
147
148         * Makefile.am: Reinstate "run-px-tests" as a dependency for the
149         "check" target.
150
151         * WgetTest.pm.in: Draw more attention to the fact that
152         WgetTest.pm is a generated file.
153
154         * Test-proxied-https-auth.px: Better cleanup, so next test can
155         open the port.
156
157 2008-05-31  Micah Cowan  <micah@cowan.name>
158
159         * Test-N-current.px: Ensure we catch failures.
160
161         * Test-N-old.px: Make it test only the timestamp, and not the
162         content length in addition.
163
164         * Test-N-smaller.px, Test-N-no-info.px: added.
165
166         * Test-c-partial.px: Improve checking that the file was
167         partially retrieved, rather than overwritten.
168
169         * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
170
171         * HTTPServer.pm: Return 416 for fully-retrieved content, rather
172         than 206 with a zero content-length.
173
174 2008-05-23  Micah Cowan  <micah@cowan.name>
175
176         * Test--spider.px: Make test expect 0 return code.
177
178 2008-05-22  Micah Cowan  <micah@cowan.name>
179
180         * Makefile.am (run-px-tests): Replaced ugly list of tests with
181         run-px Perl script to manage running them.
182         
183         * run-px: Added.
184
185         * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
186
187 2008-04-26  Micah Cowan  <micah@cowan.name>
188
189         * Makefile.am, Test-proxied-https-auth.px: Added a test for
190         accessing password-protected HTTPS URLs through a proxy (via
191         CONNECT).
192
193 2008-04-10  Micah Cowan  <micah@cowan.name>
194
195         * Makefile.am, Test-proxy-auth-basic.px: Added a test for
196         accessing password-protected URLs through a proxy.
197
198 2008-01-25  Micah Cowan  <micah@cowan.name>
199
200         * Makefile.am: Updated copyright year.
201
202 2008-01-23  Micah Cowan  <micah@cowan.name>
203
204         * Makefile.am: Add libmd5 to unit-tests.
205
206 2007-11-28  Micah Cowan <micah@cowan.name>
207
208         * Makefile.am: Updated license exception for OpenSSL, per the
209         SFLC.
210
211 2007-10-18  Micah Cowan  <micah@cowan.name>
212
213         * Makefile.am: Add dependency for unit_tests on libgnu.a.
214
215 2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
216
217         * WgetTest.pm.in: wget is built in the build tree.  Use an
218         absolute path to the binary.
219         * Makefile.in: Removed, replaced by Makefile.am.
220         * Makefile.am: Converted from Makefile.in.
221
222 2007-09-25  Micah Cowan  <micah@cowan.name>
223
224         * Makefile.in: Use EXEEXT instead of exeext.
225
226 2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
227
228         * WgetTest.pm.in: Added support for timestamping of pre-existing
229         files.
230
231         * Test-N-current.px: Fixed broken test logic.
232
233         * Makefile.in: Updated list of automatically run tests.
234
235         * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
236         option, since now HTTP Content-Disposition header support is turned
237         off by default.
238
239         * Test-HTTP-Content-Disposition-1.px: Ditto.
240
241 2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
242
243         * Test--spider--no-content-disposition-trivial.px: Added new tests for
244         validation of HTTP Content-Disposition header support logic. In
245         particular, these tests check wget's behavior for every combination of
246         --spider [-r] and -e contentdisposition=on/off options.
247
248         * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
249
250         * Test--spider-HTTP-Content-Disposition.px: Ditto.
251
252         * Test--spider--no-content-disposition.px: Ditto.
253
254         * Test--spider-r--no-content-disposition-trivial.px: Ditto.
255
256         * Test--spider-r--no-content-disposition.px: Ditto.
257
258 2007-07-25  Micah Cowan  <micah@cowan.name>
259
260         * HTTPServer.pm (run, send_response): Farmed out some logic from
261         the run method into a separate one named send_response, which
262         was then modified to handle simple authentication testing.
263         (handle_auth): Added to handle simple authentication testing.
264         (verify_auth_basic): Checks to make sure Basic credentials are
265         valid.
266         (verify_auth_digest): Stub added; always fails test.
267         * Makefile.in: Added Test-auth-basic.px to list of automatically
268         run tests.
269         * Test-auth-basic: Simple basic authentication test; mainly just
270         lets the server do its testing. Its current purpose is just to
271         ensure that correct basic creds are sent, but never until a
272         challenge has been sent.
273
274 2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
275
276         * Test--no-content-disposition.px: Added new tests for validation of
277         HTTP Content-Disposition header support logic. In particular, these
278         tests check wget's behavior for every combination of -N/-O and -e
279         contentdisposition=on/off options.
280
281         * Test--no-content-disposition-trivial.px: Ditto.
282
283         * Test-N-HTTP-Content-Disposition.px: Ditto.
284
285         * Test-N--no-content-disposition.px: Ditto.
286
287         * Test-N--no-content-disposition-trivial.px: Ditto.
288
289         * Test-O-HTTP-Content-Disposition.px: Ditto.
290
291         * Test-O--no-content-disposition.px: Ditto.
292
293         * Test-O--no-content-disposition-trivial.px: Ditto.
294
295 2007-07-05  Micah Cowan  <micah@cowan.name>
296
297         * Makefile.in:
298         Updated GPL reference to version 3 or later, removed FSF
299         address.
300
301 2007-06-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
302
303         * FTPServer.pm: Added FTP testing support.
304
305         * FTPTest.pm: Ditto.
306
307         * Test-ftp.px: Ditto.
308
309 2006-12-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
310
311         * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
312
313 2006-11-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
314
315         * Test-np.px: Added test for -np.
316
317         * HTTPTest.pm: Ignore initial '/' character in requested URLs.
318         
319 2006-10-12  Mauro Tortonesi  <mauro@ferrara.linux.it>
320
321         * Test1.px: Renamed to Test-noop.px.
322
323         * Test-noop.px: Ditto.
324
325         * Test2.px: Renamed to Test-N.px.
326
327         * Test-N.px: Ditto.
328
329         * Test3.px: Renamed to Test-nonexisting-quiet.px.
330
331         * Test-nonexisting-quiet.px: Ditto.
332
333         * Test4.px: Renamed to Test-O-nonexisting.px.
334
335         * Test-O-nonexisting.px: Ditto.
336
337         * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
338         
339         * Test-HTTP-Content-Disposition.px: Ditto.
340         
341         * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
342         
343         * Test-HTTP-Content-Disposition-1.px: Ditto.
344         
345         * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
346
347         * Test-HTTP-Content-Disposition-2.px: Ditto.
348
349         * Test8.px: Replaced by Test--spider-r.px.
350
351         * Test9.px: Renamed to Test-Restrict-Lowercase.px.
352
353         * Test-Restrict-Lowercase.px: Ditto.
354
355         * Test10.px: Renamed to Test-Restrict-Uppercase.px.
356         
357         * Test-Restrict-Uppercase.px: Ditto.
358
359         * Test--spider.px: Added test for spider mode.
360         
361         * Test--spider-fail.px: Added failing test for spider mode.
362         
363         * Test--spider-r.px: Added test for recursive spider mode.
364
365         * Test-c.px: Added test for --continue mode.
366
367         * Test-c-full.px: Added test for --continue mode.
368
369         * Test-c-partial.px: Added test for --continue mode.
370
371         * Test-O.px: Added test for -O.
372
373         * Test-N-current.px: Added test for -N.
374         
375         * Test-N-old.px: Added test for -N.
376
377         * Test-E-k.px: Added test for -E -k.
378
379         * Test-E-k-K.px: Added test for -E -k -K.
380
381 2006-08-17  Mauro Tortonesi  <mauro@ferrara.linux.it>
382
383         * HTTPServer.pm: Added support for Range header.
384
385 2006-07-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
386
387         * Test4.px: Fixed wrong expected behaviour.
388
389 2006-06-13  Mauro Tortonesi  <mauro@ferrara.linux.it>
390
391         * Test9.px: Added test for --restrict-file-names=lowercase option.
392         
393         * Test10.px: Added test for --restrict-file-names=uppercase option.
394
395 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
396
397         * HTTPServer.pm: Added synchronization between client and server
398         processes to prevent the test to start before the server is ready.
399
400         * HTTPTest.pm: Ditto.
401
402         * Test.pm: Ditto.
403
404         * Test1.px: Removed unneeded ../src/ from command line.
405
406         * Test2.px: Ditto.
407         
408         * Test3.px: Ditto.
409         
410         * Test4.px: Ditto.
411
412         * Test5.px: Ditto.
413
414         * Test6.px: Ditto.
415
416         * Test7.px: Ditto.
417
418         * Test8.px: Added test for recursive spider mode.
419
420 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
421
422         * HTTPServer.pm: Fixed bug when returning 404. Improved logging. 
423
424         * Test.pm: Added support for command lines which use an absolute path
425         for the Wget binary.
426
427 2006-04-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
428
429         * Test5.px: Added test for HTTP Content-Disposition support.
430
431         * Test6.px: Ditto.
432         
433         * Test7.px: Ditto.
434
435 2006-04-27  Mauro Tortonesi  <mauro@ferrara.linux.it>
436         
437         * HTTPServer.pm: Serve index.html if no filename is given.
438
439         * Test.pm: Added support for pre-existing files.
440         
441 2006-01-24  Mauro Tortonesi  <mauro@ferrara.linux.it>
442
443         * HTTPServer.pm: Enhanced logging support.
444
445         * HTTPTest.pm: Updated to new test format.
446         
447         * Test.pm: Improved test setup, verification and cleanup. Major 
448         refactoring.
449         
450         * Test1.px: Updated to new test format.
451
452         * Test2.px: Updated to new test format.
453
454         * Test3.px: Added new test for quiet download of nonexistent URL.
455
456         * Test4.px: Added new test for quiet download of nonexistent URL with
457         --output-document option.
458         
459 2005-12-05  Mauro Tortonesi  <mauro@ferrara.linux.it>
460
461         * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon. 
462         Removed the old run method and renamed the old run_daemon 
463         method to run.  Added support for partial 
464         
465         * Testing.pm: Renamed to HTTPTest.pm.
466         
467         * HTTPTest.pm: Refactored as a subclass of Test.  Renamed 
468         Run_HTTP_Test to run, verify_download to _verify_download 
469         and added support for timestamp checking.
470
471         * Test.pm: Added Test class as the super class of every 
472         testcase.
473
474         * test1: Renamed to Test1.px.
475         
476         * Test1.px: Refactored as an instance of the HTTPTest class.
477         
478         * Test2.px: Added -N HTTP test.
479
480 2005-11-02  Mauro Tortonesi  <mauro@ferrara.linux.it>
481
482         * HTTPServer.pm: Added basic support for HTTP testing.
483         
484         * Testing.pm: Added basic support for feature testing (only HTTP
485         testing is supported at the moment).
486
487         * test1: Added basic HTTP test.
488