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