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