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