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