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