]> sjero.net Git - wget/blob - tests/ChangeLog
Use lexical warnings in test scripts.
[wget] / tests / ChangeLog
1 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
2
3         * Test-auth-basic.px, Test-auth-no-challenge.px,
4         Test-auth-no-challenge-url.px, Test-c-full.px,
5         Test-c-partial.px, Test-c.px, Test-c-shorter.px,
6         Test-E-k-K.px, Test-E-k.px, Test-ftp.px, 
7         Test-HTTP-Content-Disposition-1.px, 
8         Test-HTTP-Content-Disposition-2.px,
9         Test-HTTP-Content-Disposition.px, Test-N-current.px,
10         Test-N-HTTP-Content-Disposition.px,
11         Test-N--no-content-disposition.px,
12         Test-N--no-content-disposition-trivial.px,
13         Test-N-no-info.px, Test--no-content-disposition.px,
14         Test--no-content-disposition-trivial.px, Test-N-old.px,
15         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
16         Test-N.px, Test-N-smaller.px, 
17         Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
18         Test-O--no-content-disposition.px, 
19         Test-O--no-content-disposition-trivial.px,
20         Test-O-nonexisting.px, Test-O.px,
21         Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
22         Test-Restrict-Uppercase.px,
23         Test--spider-fail.pxm, Test--spider.px,
24         Test--spider-r-HTTP-Content-Disposition.px,
25         Test--spider-r--no-content-disposition.px,
26         Test--spider-r--no-content-disposition-trivial.px,
27         Test--spider-r.px: Enforce lexically scoped warnings.
28
29         * Test-proxied-https-auth.px, run-px: Place use strict
30         before use warnings.
31
32 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
33
34         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
35         Remove the magic interpreter line, because it cannot be
36         used fully. Substitute -w with use warnings.
37
38 2008-11-11  Micah Cowan  <micah@cowan.name>
39
40         * HTTPServer.pm (handle_auth): Allow testing of
41         --auth-no-challenge.
42
43         * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
44         Added.
45
46         * run-px: Add Test-auth-no-challenge.px,
47         Test-auth-no-challenge-url.px.
48
49 2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
50
51         * run-px: Use some colors for the summary part of the test
52         output to strengthen the distinction between a successful
53         or failing run.
54
55 2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
56
57         * run-px: When executing test scripts, invoke them with the
58         current perl executable name as determined by env.
59
60 2008-11-06  Micah Cowan  <micah@cowan.name>
61
62         * run-px: Use strict (thanks Steven Schubiger!).
63
64 2008-06-22  Micah Cowan  <micah@cowan.name>
65
66         * Test-proxied-https-auth.px: Shift exit code so it falls in the
67         lower bits, and actually fails when it should. Use dynamic port,
68         instead of static port. Only run the test if our Wget was built
69         with HTTPS support.
70
71         * certs/server-cert.pem, certs/server-key.pem: Apparently failed
72         to add these from 1.11.x repo. Fixed.
73
74 2008-06-12  Micah Cowan  <micah@cowan.name>
75
76         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
77         Test--no-content-disposition-trivial.px,
78         Test--no-content-disposition.px, Test--spider-fail.px,
79         Test--spider-r--no-content-disposition-trivial.px,
80         Test--spider-r--no-content-disposition.px,
81         Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
82         Test--spider.px, Test-E-k-K.px, Test-E-k.px,
83         Test-HTTP-Content-Disposition-1.px,
84         Test-HTTP-Content-Disposition-2.px,
85         Test-HTTP-Content-Disposition.px,
86         Test-N--no-content-disposition-trivial.px,
87         Test-N--no-content-disposition.px,
88         Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
89         Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
90         Test-O--no-content-disposition-trivial.px,
91         Test-O--no-content-disposition.px,
92         Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
93         Test-O.px, Test-Restrict-Lowercase.px,
94         Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
95         Test-c-partial.px, Test-c.px, Test-ftp.px,
96         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
97         Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
98         WgetTest.pm.in: Use whatever ports are available, rather than
99         hard-coded ones.
100
101         * run-px: More summary info, explicit exit code.
102
103         * Makefile.am: Reinstate "run-px-tests" as a dependency for the
104         "check" target.
105
106         * WgetTest.pm.in: Draw more attention to the fact that
107         WgetTest.pm is a generated file.
108
109         * Test-proxied-https-auth.px: Better cleanup, so next test can
110         open the port.
111
112 2008-05-31  Micah Cowan  <micah@cowan.name>
113
114         * Test-N-current.px: Ensure we catch failures.
115
116         * Test-N-old.px: Make it test only the timestamp, and not the
117         content length in addition.
118
119         * Test-N-smaller.px, Test-N-no-info.px: added.
120
121         * Test-c-partial.px: Improve checking that the file was
122         partially retrieved, rather than overwritten.
123
124         * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
125
126         * HTTPServer.pm: Return 416 for fully-retrieved content, rather
127         than 206 with a zero content-length.
128
129 2008-05-23  Micah Cowan  <micah@cowan.name>
130
131         * Test--spider.px: Make test expect 0 return code.
132
133 2008-05-22  Micah Cowan  <micah@cowan.name>
134
135         * Makefile.am (run-px-tests): Replaced ugly list of tests with
136         run-px Perl script to manage running them.
137         
138         * run-px: Added.
139
140         * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
141
142 2008-04-26  Micah Cowan  <micah@cowan.name>
143
144         * Makefile.am, Test-proxied-https-auth.px: Added a test for
145         accessing password-protected HTTPS URLs through a proxy (via
146         CONNECT).
147
148 2008-04-10  Micah Cowan  <micah@cowan.name>
149
150         * Makefile.am, Test-proxy-auth-basic.px: Added a test for
151         accessing password-protected URLs through a proxy.
152
153 2008-01-25  Micah Cowan  <micah@cowan.name>
154
155         * Makefile.am: Updated copyright year.
156
157 2008-01-23  Micah Cowan  <micah@cowan.name>
158
159         * Makefile.am: Add libmd5 to unit-tests.
160
161 2007-11-28  Micah Cowan <micah@cowan.name>
162
163         * Makefile.am: Updated license exception for OpenSSL, per the
164         SFLC.
165
166 2007-10-18  Micah Cowan  <micah@cowan.name>
167
168         * Makefile.am: Add dependency for unit_tests on libgnu.a.
169
170 2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
171
172         * WgetTest.pm.in: wget is built in the build tree.  Use an
173         absolute path to the binary.
174         * Makefile.in: Removed, replaced by Makefile.am.
175         * Makefile.am: Converted from Makefile.in.
176
177 2007-09-25  Micah Cowan  <micah@cowan.name>
178
179         * Makefile.in: Use EXEEXT instead of exeext.
180
181 2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
182
183         * WgetTest.pm.in: Added support for timestamping of pre-existing
184         files.
185
186         * Test-N-current.px: Fixed broken test logic.
187
188         * Makefile.in: Updated list of automatically run tests.
189
190         * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
191         option, since now HTTP Content-Disposition header support is turned
192         off by default.
193
194         * Test-HTTP-Content-Disposition-1.px: Ditto.
195
196 2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
197
198         * Test--spider--no-content-disposition-trivial.px: Added new tests for
199         validation of HTTP Content-Disposition header support logic. In
200         particular, these tests check wget's behavior for every combination of
201         --spider [-r] and -e contentdisposition=on/off options.
202
203         * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
204
205         * Test--spider-HTTP-Content-Disposition.px: Ditto.
206
207         * Test--spider--no-content-disposition.px: Ditto.
208
209         * Test--spider-r--no-content-disposition-trivial.px: Ditto.
210
211         * Test--spider-r--no-content-disposition.px: Ditto.
212
213 2007-07-25  Micah Cowan  <micah@cowan.name>
214
215         * HTTPServer.pm (run, send_response): Farmed out some logic from
216         the run method into a separate one named send_response, which
217         was then modified to handle simple authentication testing.
218         (handle_auth): Added to handle simple authentication testing.
219         (verify_auth_basic): Checks to make sure Basic credentials are
220         valid.
221         (verify_auth_digest): Stub added; always fails test.
222         * Makefile.in: Added Test-auth-basic.px to list of automatically
223         run tests.
224         * Test-auth-basic: Simple basic authentication test; mainly just
225         lets the server do its testing. Its current purpose is just to
226         ensure that correct basic creds are sent, but never until a
227         challenge has been sent.
228
229 2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
230
231         * Test--no-content-disposition.px: Added new tests for validation of
232         HTTP Content-Disposition header support logic. In particular, these
233         tests check wget's behavior for every combination of -N/-O and -e
234         contentdisposition=on/off options.
235
236         * Test--no-content-disposition-trivial.px: Ditto.
237
238         * Test-N-HTTP-Content-Disposition.px: Ditto.
239
240         * Test-N--no-content-disposition.px: Ditto.
241
242         * Test-N--no-content-disposition-trivial.px: Ditto.
243
244         * Test-O-HTTP-Content-Disposition.px: Ditto.
245
246         * Test-O--no-content-disposition.px: Ditto.
247
248         * Test-O--no-content-disposition-trivial.px: Ditto.
249
250 2007-07-05  Micah Cowan  <micah@cowan.name>
251
252         * Makefile.in:
253         Updated GPL reference to version 3 or later, removed FSF
254         address.
255
256 2007-06-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
257
258         * FTPServer.pm: Added FTP testing support.
259
260         * FTPTest.pm: Ditto.
261
262         * Test-ftp.px: Ditto.
263
264 2006-12-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
265
266         * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
267
268 2006-11-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
269
270         * Test-np.px: Added test for -np.
271
272         * HTTPTest.pm: Ignore initial '/' character in requested URLs.
273         
274 2006-10-12  Mauro Tortonesi  <mauro@ferrara.linux.it>
275
276         * Test1.px: Renamed to Test-noop.px.
277
278         * Test-noop.px: Ditto.
279
280         * Test2.px: Renamed to Test-N.px.
281
282         * Test-N.px: Ditto.
283
284         * Test3.px: Renamed to Test-nonexisting-quiet.px.
285
286         * Test-nonexisting-quiet.px: Ditto.
287
288         * Test4.px: Renamed to Test-O-nonexisting.px.
289
290         * Test-O-nonexisting.px: Ditto.
291
292         * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
293         
294         * Test-HTTP-Content-Disposition.px: Ditto.
295         
296         * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
297         
298         * Test-HTTP-Content-Disposition-1.px: Ditto.
299         
300         * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
301
302         * Test-HTTP-Content-Disposition-2.px: Ditto.
303
304         * Test8.px: Replaced by Test--spider-r.px.
305
306         * Test9.px: Renamed to Test-Restrict-Lowercase.px.
307
308         * Test-Restrict-Lowercase.px: Ditto.
309
310         * Test10.px: Renamed to Test-Restrict-Uppercase.px.
311         
312         * Test-Restrict-Uppercase.px: Ditto.
313
314         * Test--spider.px: Added test for spider mode.
315         
316         * Test--spider-fail.px: Added failing test for spider mode.
317         
318         * Test--spider-r.px: Added test for recursive spider mode.
319
320         * Test-c.px: Added test for --continue mode.
321
322         * Test-c-full.px: Added test for --continue mode.
323
324         * Test-c-partial.px: Added test for --continue mode.
325
326         * Test-O.px: Added test for -O.
327
328         * Test-N-current.px: Added test for -N.
329         
330         * Test-N-old.px: Added test for -N.
331
332         * Test-E-k.px: Added test for -E -k.
333
334         * Test-E-k-K.px: Added test for -E -k -K.
335
336 2006-08-17  Mauro Tortonesi  <mauro@ferrara.linux.it>
337
338         * HTTPServer.pm: Added support for Range header.
339
340 2006-07-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
341
342         * Test4.px: Fixed wrong expected behaviour.
343
344 2006-06-13  Mauro Tortonesi  <mauro@ferrara.linux.it>
345
346         * Test9.px: Added test for --restrict-file-names=lowercase option.
347         
348         * Test10.px: Added test for --restrict-file-names=uppercase option.
349
350 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
351
352         * HTTPServer.pm: Added synchronization between client and server
353         processes to prevent the test to start before the server is ready.
354
355         * HTTPTest.pm: Ditto.
356
357         * Test.pm: Ditto.
358
359         * Test1.px: Removed unneeded ../src/ from command line.
360
361         * Test2.px: Ditto.
362         
363         * Test3.px: Ditto.
364         
365         * Test4.px: Ditto.
366
367         * Test5.px: Ditto.
368
369         * Test6.px: Ditto.
370
371         * Test7.px: Ditto.
372
373         * Test8.px: Added test for recursive spider mode.
374
375 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
376
377         * HTTPServer.pm: Fixed bug when returning 404. Improved logging. 
378
379         * Test.pm: Added support for command lines which use an absolute path
380         for the Wget binary.
381
382 2006-04-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
383
384         * Test5.px: Added test for HTTP Content-Disposition support.
385
386         * Test6.px: Ditto.
387         
388         * Test7.px: Ditto.
389
390 2006-04-27  Mauro Tortonesi  <mauro@ferrara.linux.it>
391         
392         * HTTPServer.pm: Serve index.html if no filename is given.
393
394         * Test.pm: Added support for pre-existing files.
395         
396 2006-01-24  Mauro Tortonesi  <mauro@ferrara.linux.it>
397
398         * HTTPServer.pm: Enhanced logging support.
399
400         * HTTPTest.pm: Updated to new test format.
401         
402         * Test.pm: Improved test setup, verification and cleanup. Major 
403         refactoring.
404         
405         * Test1.px: Updated to new test format.
406
407         * Test2.px: Updated to new test format.
408
409         * Test3.px: Added new test for quiet download of nonexistent URL.
410
411         * Test4.px: Added new test for quiet download of nonexistent URL with
412         --output-document option.
413         
414 2005-12-05  Mauro Tortonesi  <mauro@ferrara.linux.it>
415
416         * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon. 
417         Removed the old run method and renamed the old run_daemon 
418         method to run.  Added support for partial 
419         
420         * Testing.pm: Renamed to HTTPTest.pm.
421         
422         * HTTPTest.pm: Refactored as a subclass of Test.  Renamed 
423         Run_HTTP_Test to run, verify_download to _verify_download 
424         and added support for timestamp checking.
425
426         * Test.pm: Added Test class as the super class of every 
427         testcase.
428
429         * test1: Renamed to Test1.px.
430         
431         * Test1.px: Refactored as an instance of the HTTPTest class.
432         
433         * Test2.px: Added -N HTTP test.
434
435 2005-11-02  Mauro Tortonesi  <mauro@ferrara.linux.it>
436
437         * HTTPServer.pm: Added basic support for HTTP testing.
438         
439         * Testing.pm: Added basic support for feature testing (only HTTP
440         testing is supported at the moment).
441
442         * test1: Added basic HTTP test.
443