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