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