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