]> sjero.net Git - wget/blob - tests/ChangeLog
Tests: Add test cases for option --start-pos.
[wget] / tests / ChangeLog
1 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
2
3         * Test--start-pos.px: Test --start-pos for HTTP downloads.
4         * Test-ftp--start-pos.px: Test --start-pos for FTP downloads.
5         * Test--start-pos--continue.px: Test the case when --start-pos and
6           --continue were both specified.
7
8 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
9
10         * Wget.pm.in: Exclude existing files from the check of unexpected
11           downloads.
12
13 2014-02-13  Yousong Zhou  <yszhou4tech@gmail.com>
14
15         * FTPServer.pm: Fix the handling of TYPE command and avoid endless
16         loop when doing binary mode RETR.
17
18 2014-01-23  Lars Wendler  <polynomial-c@gentoo.org> (tiny change)
19
20         * Test--post-file.px: Do not fail when wget has no debug support.
21
22 2013-11-04  Darshit Shah  <darnir@gmail.com>
23
24         * Makefile.am: Add new tests introduced in last commit to
25           EXTRA_DIST.
26         Reported by: Andrea Urbani  <matfanjol@mail.com>
27
28 2013-10-17  Andrea Urbani  <matfanjol@mail.com>
29
30         * FTPServer.pm (GetBehavior): new routine.
31         * FTPServer.pm (get_list): new parameter to skip hidden files
32         * Test-ftp-list-Multinet.px: Test LIST on a "UNIX MultiNet
33           Unix Emulation" system that returns an empty content when
34           "LIST -a" is requested (probably because no "-a" files
35           exist)
36         * Test-ftp-list-Unknown.px: Test LIST on a "Unknown ftp
37           service" system that returns an empty content when
38           "LIST -a" is requested (probably because no "-a" files
39           exist)
40         * Test-ftp-list-Unknown-a.px: Test LIST on a "Unknown ftp
41           service" system that recognises "LIST -a" as "give me the
42           -a file" and there is a "-a" file + other two files.
43           "LIST -a" will return only "-a", "LIST" all the three files.
44         * Test-ftp-list-Unknown-hidden.px: Test LIST on a "Unknown ftp
45           service" system that recognises "LIST -a" as an "UNIX Type:
46           L8" system (show me also the hidden files) and there is an
47           hidden file.
48         * Test-ftp-list-Unknown-list-a-fails.px: Test LIST on a
49           "Unknown ftp service" system that raises an error on
50           "LIST -a" command.
51         * Test-ftp-list-UNIX-hidden.px: Test LIST on a "UNIX Type:
52           L8" system that recognises "LIST -a" as "show me also the
53           hidden files" and there is an hidden file.
54
55 2013-10-10  Giuseppe Scrivano  <gscrivan@redhat.com>
56
57         * Test-idn-robots-utf8.px: Remove -H.
58         * Test-idn-cmd.px: Likewise.
59         * Test-idn-cmd-utf8.px: Likewise.
60         Suggested by: Tim Ruehsen <tim.ruehsen@gmx.de>
61
62 2013-10-07  Tim Ruehsen <tim.ruehsen@gmx.de>
63
64         * Test-idn-robots.px: added punycoded and escaped URLs to follow
65           removed -H
66
67 2013-08-22  Tim Ruehsen <tim.ruehsen@gmx.de>
68
69         * Makefile.am (EXTRA_DIST): Add Test--httpsonly-r.px.
70         * run-px (tests): Likewise.
71         * Test--httpsonly-r.px: New file.
72
73 2013-03-12  Darshit Shah <darnir@gmail.com>
74
75         * Makefile.am (EXTRA_DIST): Add Test--post-file.px.
76         * run-px (tests): Likewise.
77         * Test--post-file.px: New file.
78
79 2012-11-09  Tim Ruehsen  <tim.ruehsen@gmx.de>
80
81         * HTTPServer.pm: added check for must-not-match request-header
82         * Test-cookies.px: check cookie deletion and cookie domain matching
83
84 2012-06-16  Giuseppe Scrivano  <gscrivano@gnu.org>
85
86         * Makefile.am (EXTRA_DIST): Add Test-stdouterr.px.
87         * run-px (tests): Likewise.
88         * Test-stdouterr.px: New file.
89
90 2011-06-03  Merinov Nikolay  <kim.roader@gmail.com>
91
92         * Test-idn-cmd-utf8.px: Added test for idn with utf-8 local encoding.
93         * Test-idn-robots-utf8.px: Added test for idn with utf-8 local encoding
94         and robots.txt file.
95         * Makefile.am, run-px: Add new tests.
96 2011-04-19  Giuseppe Scrivano  <gscrivano@gnu.org>
97
98         * Makefile.am (LIBS): Add $(LIB_CLOCK_GETTIME).
99
100 2011-04-04  Giuseppe Scrivano  <gscrivano@gnu.org>
101
102         * Makefile.am (LIBS): Remove  @LIBSSL@ @W32LIBS@
103
104 2010-10-23  Giuseppe Scrivano  <gscrivano@gnu.org>
105
106         * Makefile.am (LIBS): Remove @LIBGNUTLS@ and use @W32LIBS@ as last
107         component.
108
109 2010-09-12  Mike Frysinger  <vapier@gentoo.org>
110
111         Fix some tests failures.
112         * Test-iri-forced-remote.px: Use --trust-server-names to the cmdline
113         variable.
114         * Test-iri-list.px: Likewise.
115         * Test-iri.px: Likewise.
116
117 2010-06-04  Giuseppe Scrivano  <gscrivano@gnu.org>
118
119         * Test--no-content-disposition-trivial.px: Use /usr/bin/env to find the
120         perl interpreter.
121         * Test--no-content-disposition.px: Likewise.
122         * Test--spider-fail.px: Likewise.
123         * Test--spider-r--no-content-disposition-trivial.px: Likewise.
124         * Test--spider-r--no-content-disposition.px: Likewise.
125         * Test--spider-r-HTTP-Content-Disposition.px: Likewise.
126         * Test--spider-r.px: Likewise.
127         * Test--spider.px: Likewise.
128         * Test-E-k-K.px: Likewise.
129         * Test-E-k.px: Likewise.
130         * Test-HTTP-Content-Disposition-1.px: Likewise.
131         * Test-HTTP-Content-Disposition-2.px: Likewise.
132         * Test-HTTP-Content-Disposition.px: Likewise.
133         * Test-N--no-content-disposition-trivial.px: Likewise.
134         * Test-N--no-content-disposition.px: Likewise.
135         * Test-N-HTTP-Content-Disposition.px: Likewise.
136         * Test-N-current.px: Likewise.
137         * Test-N-no-info.px: Likewise.
138         * Test-N-old.px: Likewise.
139         * Test-N-smaller.px: Likewise.
140         * Test-N.px: Likewise.
141         * Test-O--no-content-disposition-trivial.px: Likewise.
142         * Test-O--no-content-disposition.px: Likewise.
143         * Test-O-HTTP-Content-Disposition.px: Likewise.
144         * Test-O-nc.px: Likewise.
145         * Test-O-nonexisting.px: Likewise.
146         * Test-O.px: Likewise.
147         * Test-Restrict-Lowercase.px: Likewise.
148         * Test-Restrict-Uppercase.px: Likewise.
149         * Test-auth-basic.px: Likewise.
150         * Test-auth-no-challenge-url.px: Likewise.
151         * Test-auth-no-challenge.px: Likewise.
152         * Test-auth-retcode.px: Likewise.
153         * Test-auth-with-content-disposition.px: Likewise.
154         * Test-c-full.px: Likewise.
155         * Test-c-partial.px: Likewise.
156         * Test-c-shorter.px: Likewise.
157         * Test-c.px: Likewise.
158         * Test-cookies-401.px: Likewise.
159         * Test-cookies.px: Likewise.
160         * Test-ftp-bad-list.px: Likewise.
161         * Test-ftp-iri-disabled.px: Likewise.
162         * Test-ftp-iri-fallback.px: Likewise.
163         * Test-ftp-iri-recursive.px: Likewise.
164         * Test-ftp-iri.px: Likewise.
165         * Test-ftp-pasv-fail.px: Likewise.
166         * Test-ftp-recursive.px: Likewise.
167         * Test-ftp.px: Likewise.
168         * Test-i-ftp.px: Likewise.
169         * Test-i-http.px: Likewise.
170         * Test-idn-cmd.px: Likewise.
171         * Test-idn-headers.px: Likewise.
172         * Test-idn-meta.px: Likewise.
173         * Test-idn-robots.px: Likewise.
174         * Test-iri-disabled.px: Likewise.
175         * Test-iri-forced-remote.px: Likewise.
176         * Test-iri-list.px: Likewise.
177         * Test-iri-percent.px: Likewise.
178         * Test-iri.px: Likewise.
179         * Test-k.px: Likewise.
180         * Test-meta-robots.px: Likewise.
181         * Test-nonexisting-quiet.px: Likewise.
182         * Test-noop.px: Likewise.
183         * Test-np.px: Likewise.
184         * Test-proxied-https-auth.px: Likewise.
185         * Test-proxy-auth-basic.px: Likewise.
186         * Test-restrict-ascii.px: Likewise.
187         Reported by sci-fi@hush.ai.
188
189 2010-05-29  Giuseppe Scrivano  <gscrivano@gnu.org>
190
191         * Makefile.am (EXTRA_DIST): Add Test-auth-retcode.px.
192
193         * run-px (tests): Likewise.
194
195         * Test-auth-retcode.px: New file.
196
197 2010-05-16  Giuseppe Scrivano  <gscrivano@gnu.org>
198
199         * Makefile.am (../md5/libmd5.a): Remove rule.
200         (LDADD):  Remove MD5_LDADD.
201
202 2010-05-08  Giuseppe Scrivano  <gscrivano@gnu.org>
203
204         * Makefile.am: Update copyright years.
205
206 2010-05-07  Giuseppe Scrivano  <gscrivano@gnu.org>
207
208         * Makefile.am (LIBS): Add definition.
209         (LDADD): Add LIBS.
210
211 2010-03-01  Steven Schubiger  <stsc@member.fsf.org>
212
213         * Test-i-ftp.px: Test --input-file in conjunction with FTP.
214         * run-px, Makefile.am (EXTRA_DIST): Added Test-i-ftp.px.
215
216 2010-02-26  Steven Schubiger  <stsc@member.fsf.org>
217
218         * Test-i-http.px: Test --input-file in conjunction with HTTP.
219         * run-px, Makefile.am (EXTRA_DIST): Added Test-i-http.px.
220
221 2010-02-25  Steven Schubiger  <stsc@member.fsf.org>
222
223         * FTPServer.pm (FTPServer::new): Substitute port placeholders
224         in content of files to be retrieved via FTP.
225
226 2009-10-14  Steven Schubiger  <stsc@member.fsf.org>
227
228         * Test-E-k-K.px, Test-cookies-401.px, Test-ftp-bad-list.px,
229         Test-iri-list.px, Test-iri.px: Removed -d from invocation.
230         Patch by Mike Frysinger.
231
232 2009-09-27  Micah Cowan  <micah@cowan.name>
233
234         * Test-idn-cmd.px, Test-idn-headers.px, Test-idn-meta.px,
235         Test-idn-robots.px, Test-proxy-auth-basic.px: Removed --debug from
236         invocation (in case it wasn't built with --debug support).
237
238 2009-09-24  Micah Cowan  <micah@cowan.name>
239
240         * Test-ftp-iri-disabled.px: Fix name "Test-ftp-iri" ->
241         "test-ftp-iri-disabled"
242
243         * Test-ftp-iri-fallback.px: Fix name "Test-ftp-iri" ->
244         "test-ftp-iri-fallback"
245
246 2009-09-07  Micah Cowan  <micah@cowan.name>
247
248         * run-px: Exit with a failure if there were any tests with
249         "unknown" exit statuses.
250
251         * Test-auth-with-content-disposition.px: New. Test Content-Disposition
252         support when HTTP authentication is required.
253         * run-px, Makefile.am (EXTRA_DIST): Added
254         Test-auth-with-content-disposition.px.
255
256         * FTPServer.pm (FTPServer::run): Pass "server behavior" information to
257         newly-constructed FTPPaths object.
258         (FTPPaths::initialize): Accept "server behavior" hash.
259         (FTPPaths::_format_for_list): If server behavior has "bad_list"
260         set, then always report 0 for the size.
261         * Test-ftp-bad-list.px: Added. Attempts to reproduce bug
262         22403... but doesn't.
263         * run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-bad-list.px.
264
265 2009-09-06  Micah Cowan  <micah@cowan.name>
266
267         * WgetTest.pm.in (_setup): Don't expect error codes from
268         _setup_server; none are returned.
269         (quotechar, _show_diff): Added facilities for expounding on where
270         output didn't match expectations.
271         (_verify_download): Use _show_diff.
272
273         * FTPTest.pm (_setup_server): Pass value of server_behavior to
274         FTPServer initialization.
275
276         * Test-ftp-pasv-fail.px: Added.
277         * run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-pasv-fail.px.
278
279         * WgetTest.pm.in: Added "server_behavior" to the set of accepted
280         initialization values.
281         * FTPServer.pm (__open_data_connection): Add "server_behavior" to
282         the set of accepted initialization values.
283         (run): Honor the 'fail_on_pasv' server behavior setting, to
284         trigger the Wget getftp glitch.
285
286 2009-09-05  Micah Cowan  <micah@cowan.name>
287
288         * Test-ftp-recursive.px: Added.
289         * run-px, Makefile.am (EXTRA_DIST): Added Test-ftp-recursive.px.
290
291         * FTPTest.pm (_setup_server): Don't construct the "input"
292         directory's contents, just pass the URLs structure to
293         FTPServer->new.
294         * FTPServer.pm: Rewrote portions, so that the server now uses the
295         information from the %urls hash directly, rather than reading from
296         real files. Added an FTPPaths package to the file.
297
298 2009-09-04  Micah Cowan  <micah@cowan.name>
299
300         * WgetTest.pm.in (run): Error-checking improvements.
301
302 2009-09-05  Steven Schubiger  <stsc@member.fsf.org>
303
304         * run-px: Introduce two new diagnostics: Skip and Unknown.
305
306         * WgetFeature.pm (import): Parse the version output of Wget
307         and assert the availability of a feature.
308
309         * WgetFeature.cfg: Messages to be printed in absence of a
310         required feature.
311
312         * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
313         Test-ftp-iri-recursive.px, Test-ftp-iri.px, Test-idn-cmd.px,
314         Test-idn-headers.px, Test-idn-meta.px, Test-idn-robots.px,
315         Test-iri-forced-remote.px, Test-iri-list.px,
316         Test-iri-percent.px, Test-iri.px: Use WgetFeature.pm to
317         check for the presence of the IDN/IRI feature.
318
319         * Test-proxied-https-auth.px: Replace grepping for a feature
320         with loading WgetFeature.pm at compile-time.
321
322         * Makefile.am: Add WgetFeature.pm and WgetFeature.cfg
323         to EXTRA_DIST.
324
325 2009-09-02  Micah Cowan  <micah@cowan.name>
326
327         * Makefile.am (unit-tests): explicit dependency is
328         unnecessary (and harmful, as it overrides the automatic one).
329
330 2009-09-01  Micah Cowan  <micah@cowan.name>
331
332         * Makefile.am (../src/libunittest.a): Make it a phony target,
333         so we always make sure to get up-to-date unit-test runs.
334
335 2009-09-01  Steven Schubiger  <stsc@member.fsf.org>
336
337         * Makefile.am: Add Test-cookies.px, Test-cookies-401.px
338         and Test-restrict-ascii.px to EXTRA_DIST.
339
340 2009-08-31  Steven Schubiger  <stsc@member.fsf.org>
341
342         * Makefile.am: Add Test-k.px to EXTRA_DIST.
343
344 2009-08-29  Steven Schubiger  <stsc@member.fsf.org>
345
346         * run-px: Add Test-k.px to the list.
347
348         * Test-k.px: Test escaping of semicolons in local file strings.
349
350 2009-08-27  Micah Cowan  <micah@cowan.name>
351
352         * WgetTest.pm.in (run): Shift the errcode right by 8 binary places.
353
354         * Test--spider-fail.px, Test--spider-r--no-content-disposition.px,
355         Test--spider-r--no-content-disposition-trivial.px,
356         Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
357         Test-O-nonexisting.px, Test-cookies-401.px,
358         Test-nonexisting-quiet.px: Adjusted "expected error code"; Wget's
359         exit codes have changed.
360
361 2009-08-27  Micah Cowan  <micah@cowan.name>
362
363         * run-px: Added Test-cookies.px, Test-cookies-401.px
364
365         * Test-cookies.px: Basic testing to make sure Wget doesn't send
366         cookies; no path/domain checking.
367
368         * Test-cookies.px: Test to make sure Wget heeds cookies when they
369         are sent with a 401 response (#26775).
370
371         * HTTPServer.pm (send_response): Don't try to substitute port in
372         response body, if there isn't one.
373         (verify_request_headers): Avoid uninitialized warning when an
374         expected header isn't provided by Wget.
375
376 2009-07-27  Micah Cowan  <micah@cowan.name>
377
378         * Test-restrict-ascii.px: New.
379
380         * run-px: Added Test-restrict-ascii.px.
381
382 2009-07-26  Micah Cowan  <micah@cowan.name>
383
384         * Test-ftp-iri.px, Test-ftp-iri-fallback.px,
385         Test-ftp-iri-recursive.px, Test-ftp-iri-disabled.px,
386         Test-idn-cmd.px, Test-idn-robots.px: Adjust wget invocations,
387         replacing --locale with --local-encoding.
388
389 2009-07-07  Steven Schubiger  <stsc@member.fsf.org>
390
391         * Makefile.am: Add IDN/IRI test files and Test-meta-robots.px
392         to EXTRA_DIST.
393
394 2009-07-05  Micah Cowan  <micah@cowan.name>
395
396         * Test-meta-robots.px: Added.
397
398         * run-px: Add Test-meta-robots.px to the list.
399
400 2009-07-03  Micah Cowan  <micah@cowan.name>
401
402         * Test-ftp-iri-disabled.px, Test-iri-disabled.px:
403         --iri=no --> --no-iri
404
405 2009-07-01  Micah Cowan  <micah@cowan.name>
406
407         * HTTPServer.pm (send_response): Invocation of
408         verify_request_headers, to support testing of Wget-sent header
409         values.
410         (verify_request_headers): Added.
411
412         * Test-iri.px: Added verification checks for Referer values.
413
414 2009-06-29  Micah Cowan  <micah@cowan.name>
415
416         * WgetTest.pm.in (_cleanup): Allow cleanup of test directories to
417         be skipped at user discretion.
418
419         * run-px, Test-iri-percent.px, Test-ftp-iri-recursive.px: Added
420         test for percent-coded value preservation, FTP recursion when IRI
421         support's on.
422
423 2008-12-04  Micah Cowan  <micah@cowan.name> (not copyrightable)
424
425         * run-px, Test-idn-robots.px: Added test for robots-file
426         downloads.
427
428         * Test-idn-cmd.px, Test-idn-meta.px, Test-idn-headers.px:
429         Fix test names.
430
431 2008-11-26  Micah Cowan  <micah@cowan.name>  (not copyrightable)
432
433         * Test-ftp-iri-disabled.px, Test-ftp-iri-fallback.px,
434         Test-ftp-iri.px, Test-idn-cmd.px, Test-idn-headers.px,
435         Test-idn-meta.px, Test-iri-disabled.px,
436         Test-iri-forced-remote.px, Test-iri-list.px, Test-iri.px: More
437         module-scope warnings.
438
439 2009-06-14  Micah Cowan  <micah@cowan.name>
440
441         * Makefile.am (EXTRA_DIST): Include all the tests, run-px, and
442         certs/, to make distcheck happy.
443
444 2009-06-11  Benjamin Wolsey <bwy@benjaminwolsey.de>
445
446         * Test-proxied-https-auth.px: Take an optional argument for the
447         top source directory, so we can find the cert and key.
448
449         * run-px: Provide the top source directory as an argument, so
450         scripts can find their way around.
451
452 2009-04-11  Steven Schubiger  <stsc@member.fsf.org>
453
454         * run-px: Skip testing with real rc files by setting
455         SYSTEM_WGETRC and WGETRC to /dev/null.
456
457 2009-02-25  Benjamin Wolsey  <bwy@benjaminwolsey.de>
458
459         * Makefile.am (run-px-tests): Ensure run-px is run from srcdir.
460
461         * run-px: Include modules from srcdir.
462
463 2008-11-25  Steven Schubiger  <stsc@members.fsf.org>
464
465         * WgetTest.pm.in: Remove the magic interpreter line;
466         replace -w with lexical warnings.
467
468 2008-11-13  Steven Schubiger  <stsc@members.fsf.org>
469
470         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
471         WgetTest.pm.in: Clean up leftover whitespace.
472
473 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
474
475         * Test-auth-basic.px, Test-auth-no-challenge.px,
476         Test-auth-no-challenge-url.px, Test-c-full.px,
477         Test-c-partial.px, Test-c.px, Test-c-shorter.px,
478         Test-E-k-K.px, Test-E-k.px, Test-ftp.px,
479         Test-HTTP-Content-Disposition-1.px,
480         Test-HTTP-Content-Disposition-2.px,
481         Test-HTTP-Content-Disposition.px, Test-N-current.px,
482         Test-N-HTTP-Content-Disposition.px,
483         Test-N--no-content-disposition.px,
484         Test-N--no-content-disposition-trivial.px,
485         Test-N-no-info.px, Test--no-content-disposition.px,
486         Test--no-content-disposition-trivial.px, Test-N-old.px,
487         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
488         Test-N.px, Test-N-smaller.px,
489         Test-O-HTTP-Content-Disposition.px, Test-O-nc.px,
490         Test-O--no-content-disposition.px,
491         Test-O--no-content-disposition-trivial.px,
492         Test-O-nonexisting.px, Test-O.px,
493         Test-proxy-auth-basic.px, Test-Restrict-Lowercase.px,
494         Test-Restrict-Uppercase.px,
495         Test--spider-fail.pxm, Test--spider.px,
496         Test--spider-r-HTTP-Content-Disposition.px,
497         Test--spider-r--no-content-disposition.px,
498         Test--spider-r--no-content-disposition-trivial.px,
499         Test--spider-r.px: Enforce lexically scoped warnings.
500
501         * Test-proxied-https-auth.px, run-px: Place use strict
502         before use warnings.
503
504 2008-11-12  Steven Schubiger  <stsc@members.fsf.org>
505
506         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm:
507         Remove the magic interpreter line, because it cannot be
508         used fully. Substitute -w with use warnings.
509
510 2008-11-11  Micah Cowan  <micah@cowan.name>
511
512         * HTTPServer.pm (handle_auth): Allow testing of
513         --auth-no-challenge.
514
515         * Test-auth-no-challenge.px, Test-auth-no-challenge-url.px:
516         Added.
517
518         * run-px: Add Test-auth-no-challenge.px,
519         Test-auth-no-challenge-url.px.
520
521 2008-11-07  Steven Schubiger  <stsc@members.fsf.org>
522
523         * run-px: Use some colors for the summary part of the test
524         output to strengthen the distinction between a successful
525         or failing run.
526
527 2008-11-06  Steven Schubiger  <stsc@members.fsf.org>
528
529         * run-px: When executing test scripts, invoke them with the
530         current perl executable name as determined by env.
531
532 2008-11-06  Micah Cowan  <micah@cowan.name>
533
534         * run-px: Use strict (thanks Steven Schubiger!).
535
536 2008-09-09  Micah Cowan  <micah@cowan.name>
537
538         * Test-idn-cmd.px: Added.
539
540         * run-px: Added Test-idn-cmd.px.
541
542 2008-08-28  Micah Cowan  <micah@cowan.name>
543
544         * HTTPServer.pm (run): Allow distinguishing between hostnames,
545         when used as a proxy.
546
547         * Test-idn-headers.px, Test-idn-meta.px: Added.
548
549         * run-px: Added Test-idn-headers.px, Test-idn-meta.px.
550
551         * Test-proxy-auth-basic.px: Use the full URL, rather than just the
552         path (made necessary by the accompanying change to HTTPServer.pm).
553
554 2008-08-14  Xavier Saint <wget@sxav.eu>
555
556         * Test-iri-list.px : Fetch files from a remote list.
557
558 2008-08-03  Xavier Saint <wget@sxav.eu>
559
560         * Test-iri.px : HTTP recursive fetch for testing IRI support and
561         fallback.
562
563         * Test-iri-disabled.px : Same file structure as Test-iri.px but with
564         IRI support disabled
565
566         * Test-iri-forced-remote.px : There's a difference between ISO-8859-1
567         and ISO-8859-15 for character 0xA4 (respectively currency sign and
568         euro sign). So with a forced ISO-8859-1 remote encoding, wget should
569         see 0xA4 as a currency sign and transcode it correctly in UTF-8 instead
570         of using the ISO-8859-15 given by the server.
571
572         * Test-ftp-iri.px : Give a file to fetch via FTP in a specific locale
573         and expect wget to fetch the file UTF-8 encoded.
574
575         * Test-ftp-iri-fallback.px : Same as above but wget should fallback on
576         locale encoding to fetch the file.
577
578         * Test-ftp-iri.px : Same as Test-ftp-iri.px but with IRI support
579         disabled. The UTF-8 encoded file should not be retrieved.
580
581 2008-06-22  Micah Cowan  <micah@cowan.name>
582
583         * Test-proxied-https-auth.px: Shift exit code so it falls in the
584         lower bits, and actually fails when it should. Use dynamic port,
585         instead of static port. Only run the test if our Wget was built
586         with HTTPS support.
587
588         * certs/server-cert.pem, certs/server-key.pem: Apparently failed
589         to add these from 1.11.x repo. Fixed.
590
591 2008-06-12  Micah Cowan  <micah@cowan.name>
592
593         * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm,
594         Test--no-content-disposition-trivial.px,
595         Test--no-content-disposition.px, Test--spider-fail.px,
596         Test--spider-r--no-content-disposition-trivial.px,
597         Test--spider-r--no-content-disposition.px,
598         Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px,
599         Test--spider.px, Test-E-k-K.px, Test-E-k.px,
600         Test-HTTP-Content-Disposition-1.px,
601         Test-HTTP-Content-Disposition-2.px,
602         Test-HTTP-Content-Disposition.px,
603         Test-N--no-content-disposition-trivial.px,
604         Test-N--no-content-disposition.px,
605         Test-N-HTTP-Content-Disposition.px, Test-N-current.px,
606         Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px,
607         Test-O--no-content-disposition-trivial.px,
608         Test-O--no-content-disposition.px,
609         Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px,
610         Test-O.px, Test-Restrict-Lowercase.px,
611         Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px,
612         Test-c-partial.px, Test-c.px, Test-ftp.px,
613         Test-nonexisting-quiet.px, Test-noop.px, Test-np.px,
614         Test-proxied-https-auth.px, Test-proxy-auth-basic.px,
615         WgetTest.pm.in: Use whatever ports are available, rather than
616         hard-coded ones.
617
618         * run-px: More summary info, explicit exit code.
619
620         * Makefile.am: Reinstate "run-px-tests" as a dependency for the
621         "check" target.
622
623         * WgetTest.pm.in: Draw more attention to the fact that
624         WgetTest.pm is a generated file.
625
626         * Test-proxied-https-auth.px: Better cleanup, so next test can
627         open the port.
628
629 2008-05-31  Micah Cowan  <micah@cowan.name>
630
631         * Test-N-current.px: Ensure we catch failures.
632
633         * Test-N-old.px: Make it test only the timestamp, and not the
634         content length in addition.
635
636         * Test-N-smaller.px, Test-N-no-info.px: added.
637
638         * Test-c-partial.px: Improve checking that the file was
639         partially retrieved, rather than overwritten.
640
641         * run-px: Added Test-N-smaller.px, Test-N-no-info.px.
642
643         * HTTPServer.pm: Return 416 for fully-retrieved content, rather
644         than 206 with a zero content-length.
645
646 2008-05-23  Micah Cowan  <micah@cowan.name>
647
648         * Test--spider.px: Make test expect 0 return code.
649
650 2008-05-22  Micah Cowan  <micah@cowan.name>
651
652         * Makefile.am (run-px-tests): Replaced ugly list of tests with
653         run-px Perl script to manage running them.
654
655         * run-px: Added.
656
657         * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458.
658
659 2008-04-26  Micah Cowan  <micah@cowan.name>
660
661         * Makefile.am, Test-proxied-https-auth.px: Added a test for
662         accessing password-protected HTTPS URLs through a proxy (via
663         CONNECT).
664
665 2008-04-10  Micah Cowan  <micah@cowan.name>
666
667         * Makefile.am, Test-proxy-auth-basic.px: Added a test for
668         accessing password-protected URLs through a proxy.
669
670 2008-01-25  Micah Cowan  <micah@cowan.name>
671
672         * Makefile.am: Updated copyright year.
673
674 2008-01-23  Micah Cowan  <micah@cowan.name>
675
676         * Makefile.am: Add libmd5 to unit-tests.
677
678 2007-11-28  Micah Cowan <micah@cowan.name>
679
680         * Makefile.am: Updated license exception for OpenSSL, per the
681         SFLC.
682
683 2007-10-18  Micah Cowan  <micah@cowan.name>
684
685         * Makefile.am: Add dependency for unit_tests on libgnu.a.
686
687 2007-10-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
688
689         * WgetTest.pm.in: wget is built in the build tree.  Use an
690         absolute path to the binary.
691         * Makefile.in: Removed, replaced by Makefile.am.
692         * Makefile.am: Converted from Makefile.in.
693
694 2007-09-25  Micah Cowan  <micah@cowan.name>
695
696         * Makefile.in: Use EXEEXT instead of exeext.
697
698 2007-08-21  Mauro Tortonesi  <mauro@ferrara.linux.it>
699
700         * WgetTest.pm.in: Added support for timestamping of pre-existing
701         files.
702
703         * Test-N-current.px: Fixed broken test logic.
704
705         * Makefile.in: Updated list of automatically run tests.
706
707         * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on
708         option, since now HTTP Content-Disposition header support is turned
709         off by default.
710
711         * Test-HTTP-Content-Disposition-1.px: Ditto.
712
713 2007-08-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
714
715         * Test--spider--no-content-disposition-trivial.px: Added new tests for
716         validation of HTTP Content-Disposition header support logic. In
717         particular, these tests check wget's behavior for every combination of
718         --spider [-r] and -e contentdisposition=on/off options.
719
720         * Test--spider-r-HTTP-Content-Disposition.px: Ditto.
721
722         * Test--spider-HTTP-Content-Disposition.px: Ditto.
723
724         * Test--spider--no-content-disposition.px: Ditto.
725
726         * Test--spider-r--no-content-disposition-trivial.px: Ditto.
727
728         * Test--spider-r--no-content-disposition.px: Ditto.
729
730 2007-07-25  Micah Cowan  <micah@cowan.name>
731
732         * HTTPServer.pm (run, send_response): Farmed out some logic from
733         the run method into a separate one named send_response, which
734         was then modified to handle simple authentication testing.
735         (handle_auth): Added to handle simple authentication testing.
736         (verify_auth_basic): Checks to make sure Basic credentials are
737         valid.
738         (verify_auth_digest): Stub added; always fails test.
739         * Makefile.in: Added Test-auth-basic.px to list of automatically
740         run tests.
741         * Test-auth-basic: Simple basic authentication test; mainly just
742         lets the server do its testing. Its current purpose is just to
743         ensure that correct basic creds are sent, but never until a
744         challenge has been sent.
745
746 2007-07-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
747
748         * Test--no-content-disposition.px: Added new tests for validation of
749         HTTP Content-Disposition header support logic. In particular, these
750         tests check wget's behavior for every combination of -N/-O and -e
751         contentdisposition=on/off options.
752
753         * Test--no-content-disposition-trivial.px: Ditto.
754
755         * Test-N-HTTP-Content-Disposition.px: Ditto.
756
757         * Test-N--no-content-disposition.px: Ditto.
758
759         * Test-N--no-content-disposition-trivial.px: Ditto.
760
761         * Test-O-HTTP-Content-Disposition.px: Ditto.
762
763         * Test-O--no-content-disposition.px: Ditto.
764
765         * Test-O--no-content-disposition-trivial.px: Ditto.
766
767 2007-07-05  Micah Cowan  <micah@cowan.name>
768
769         * Makefile.in:
770         Updated GPL reference to version 3 or later, removed FSF
771         address.
772
773 2007-06-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
774
775         * FTPServer.pm: Added FTP testing support.
776
777         * FTPTest.pm: Ditto.
778
779         * Test-ftp.px: Ditto.
780
781 2006-12-22  Mauro Tortonesi  <mauro@ferrara.linux.it>
782
783         * HTTPTest.pm: Don't ignore initial '/' character in requested URLs.
784
785 2006-11-10  Mauro Tortonesi  <mauro@ferrara.linux.it>
786
787         * Test-np.px: Added test for -np.
788
789         * HTTPTest.pm: Ignore initial '/' character in requested URLs.
790
791 2006-10-12  Mauro Tortonesi  <mauro@ferrara.linux.it>
792
793         * Test1.px: Renamed to Test-noop.px.
794
795         * Test-noop.px: Ditto.
796
797         * Test2.px: Renamed to Test-N.px.
798
799         * Test-N.px: Ditto.
800
801         * Test3.px: Renamed to Test-nonexisting-quiet.px.
802
803         * Test-nonexisting-quiet.px: Ditto.
804
805         * Test4.px: Renamed to Test-O-nonexisting.px.
806
807         * Test-O-nonexisting.px: Ditto.
808
809         * Test5.px: Renamed to Test-HTTP-Content-Disposition.px.
810
811         * Test-HTTP-Content-Disposition.px: Ditto.
812
813         * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px.
814
815         * Test-HTTP-Content-Disposition-1.px: Ditto.
816
817         * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px.
818
819         * Test-HTTP-Content-Disposition-2.px: Ditto.
820
821         * Test8.px: Replaced by Test--spider-r.px.
822
823         * Test9.px: Renamed to Test-Restrict-Lowercase.px.
824
825         * Test-Restrict-Lowercase.px: Ditto.
826
827         * Test10.px: Renamed to Test-Restrict-Uppercase.px.
828
829         * Test-Restrict-Uppercase.px: Ditto.
830
831         * Test--spider.px: Added test for spider mode.
832
833         * Test--spider-fail.px: Added failing test for spider mode.
834
835         * Test--spider-r.px: Added test for recursive spider mode.
836
837         * Test-c.px: Added test for --continue mode.
838
839         * Test-c-full.px: Added test for --continue mode.
840
841         * Test-c-partial.px: Added test for --continue mode.
842
843         * Test-O.px: Added test for -O.
844
845         * Test-N-current.px: Added test for -N.
846
847         * Test-N-old.px: Added test for -N.
848
849         * Test-E-k.px: Added test for -E -k.
850
851         * Test-E-k-K.px: Added test for -E -k -K.
852
853 2006-08-17  Mauro Tortonesi  <mauro@ferrara.linux.it>
854
855         * HTTPServer.pm: Added support for Range header.
856
857 2006-07-14  Mauro Tortonesi  <mauro@ferrara.linux.it>
858
859         * Test4.px: Fixed wrong expected behaviour.
860
861 2006-06-13  Mauro Tortonesi  <mauro@ferrara.linux.it>
862
863         * Test9.px: Added test for --restrict-file-names=lowercase option.
864
865         * Test10.px: Added test for --restrict-file-names=uppercase option.
866
867 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
868
869         * HTTPServer.pm: Added synchronization between client and server
870         processes to prevent the test to start before the server is ready.
871
872         * HTTPTest.pm: Ditto.
873
874         * Test.pm: Ditto.
875
876         * Test1.px: Removed unneeded ../src/ from command line.
877
878         * Test2.px: Ditto.
879
880         * Test3.px: Ditto.
881
882         * Test4.px: Ditto.
883
884         * Test5.px: Ditto.
885
886         * Test6.px: Ditto.
887
888         * Test7.px: Ditto.
889
890         * Test8.px: Added test for recursive spider mode.
891
892 2006-05-26  Mauro Tortonesi  <mauro@ferrara.linux.it>
893
894         * HTTPServer.pm: Fixed bug when returning 404. Improved logging.
895
896         * Test.pm: Added support for command lines which use an absolute path
897         for the Wget binary.
898
899 2006-04-28  Mauro Tortonesi  <mauro@ferrara.linux.it>
900
901         * Test5.px: Added test for HTTP Content-Disposition support.
902
903         * Test6.px: Ditto.
904
905         * Test7.px: Ditto.
906
907 2006-04-27  Mauro Tortonesi  <mauro@ferrara.linux.it>
908
909         * HTTPServer.pm: Serve index.html if no filename is given.
910
911         * Test.pm: Added support for pre-existing files.
912
913 2006-01-24  Mauro Tortonesi  <mauro@ferrara.linux.it>
914
915         * HTTPServer.pm: Enhanced logging support.
916
917         * HTTPTest.pm: Updated to new test format.
918
919         * Test.pm: Improved test setup, verification and cleanup. Major
920         refactoring.
921
922         * Test1.px: Updated to new test format.
923
924         * Test2.px: Updated to new test format.
925
926         * Test3.px: Added new test for quiet download of nonexistent URL.
927
928         * Test4.px: Added new test for quiet download of nonexistent URL with
929         --output-document option.
930
931 2005-12-05  Mauro Tortonesi  <mauro@ferrara.linux.it>
932
933         * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon.
934         Removed the old run method and renamed the old run_daemon
935         method to run.  Added support for partial
936
937         * Testing.pm: Renamed to HTTPTest.pm.
938
939         * HTTPTest.pm: Refactored as a subclass of Test.  Renamed
940         Run_HTTP_Test to run, verify_download to _verify_download
941         and added support for timestamp checking.
942
943         * Test.pm: Added Test class as the super class of every
944         testcase.
945
946         * test1: Renamed to Test1.px.
947
948         * Test1.px: Refactored as an instance of the HTTPTest class.
949
950         * Test2.px: Added -N HTTP test.
951
952 2005-11-02  Mauro Tortonesi  <mauro@ferrara.linux.it>
953
954         * HTTPServer.pm: Added basic support for HTTP testing.
955
956         * Testing.pm: Added basic support for feature testing (only HTTP
957         testing is supported at the moment).
958
959         * test1: Added basic HTTP test.
960