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