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