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