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