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