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