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