2008-06-22 Micah Cowan * Test-proxied-https-auth.px: Shift exit code so it falls in the lower bits, and actually fails when it should. Use dynamic port, instead of static port. * certs/server-cert.pem, certs/server-key.pem: Apparently failed to add these from 1.11.x repo. Fixed. 2008-06-12 Micah Cowan * FTPServer.pm, FTPTest.pm, HTTPServer.pm, HTTPTest.pm, Test--no-content-disposition-trivial.px, Test--no-content-disposition.px, Test--spider-fail.px, Test--spider-r--no-content-disposition-trivial.px, Test--spider-r--no-content-disposition.px, Test--spider-r-HTTP-Content-Disposition.px, Test--spider-r.px, Test--spider.px, Test-E-k-K.px, Test-E-k.px, Test-HTTP-Content-Disposition-1.px, Test-HTTP-Content-Disposition-2.px, Test-HTTP-Content-Disposition.px, Test-N--no-content-disposition-trivial.px, Test-N--no-content-disposition.px, Test-N-HTTP-Content-Disposition.px, Test-N-current.px, Test-N-no-info.px, Test-N-old.px, Test-N-smaller.px, Test-N.px, Test-O--no-content-disposition-trivial.px, Test-O--no-content-disposition.px, Test-O-HTTP-Content-Disposition.px, Test-O-nonexisting.px, Test-O.px, Test-Restrict-Lowercase.px, Test-Restrict-Uppercase.px, Test-auth-basic.px, Test-c-full.px, Test-c-partial.px, Test-c.px, Test-ftp.px, Test-nonexisting-quiet.px, Test-noop.px, Test-np.px, Test-proxied-https-auth.px, Test-proxy-auth-basic.px, WgetTest.pm.in: Use whatever ports are available, rather than hard-coded ones. * run-px: More summary info, explicit exit code. * Makefile.am: Reinstate "run-px-tests" as a dependency for the "check" target. * WgetTest.pm.in: Draw more attention to the fact that WgetTest.pm is a generated file. * Test-proxied-https-auth.px: Better cleanup, so next test can open the port. 2008-05-31 Micah Cowan * Test-N-current.px: Ensure we catch failures. * Test-N-old.px: Make it test only the timestamp, and not the content length in addition. * Test-N-smaller.px, Test-N-no-info.px: added. * Test-c-partial.px: Improve checking that the file was partially retrieved, rather than overwritten. * run-px: Added Test-N-smaller.px, Test-N-no-info.px. * HTTPServer.pm: Return 416 for fully-retrieved content, rather than 206 with a zero content-length. 2008-05-23 Micah Cowan * Test--spider.px: Make test expect 0 return code. 2008-05-22 Micah Cowan * Makefile.am (run-px-tests): Replaced ugly list of tests with run-px Perl script to manage running them. * run-px: Added. * FTPServer.pm (run): Avoid re-forking. Fixes bug #20458. 2008-04-26 Micah Cowan * Makefile.am, Test-proxied-https-auth.px: Added a test for accessing password-protected HTTPS URLs through a proxy (via CONNECT). 2008-04-10 Micah Cowan * Makefile.am, Test-proxy-auth-basic.px: Added a test for accessing password-protected URLs through a proxy. 2008-01-25 Micah Cowan * Makefile.am: Updated copyright year. 2008-01-23 Micah Cowan * Makefile.am: Add libmd5 to unit-tests. 2007-11-28 Micah Cowan * Makefile.am: Updated license exception for OpenSSL, per the SFLC. 2007-10-18 Micah Cowan * Makefile.am: Add dependency for unit_tests on libgnu.a. 2007-10-05 Ralf Wildenhues * WgetTest.pm.in: wget is built in the build tree. Use an absolute path to the binary. * Makefile.in: Removed, replaced by Makefile.am. * Makefile.am: Converted from Makefile.in. 2007-09-25 Micah Cowan * Makefile.in: Use EXEEXT instead of exeext. 2007-08-21 Mauro Tortonesi * WgetTest.pm.in: Added support for timestamping of pre-existing files. * Test-N-current.px: Fixed broken test logic. * Makefile.in: Updated list of automatically run tests. * Test-HTTP-Content-Disposition.px: Added -e contentdisposition=on option, since now HTTP Content-Disposition header support is turned off by default. * Test-HTTP-Content-Disposition-1.px: Ditto. 2007-08-10 Mauro Tortonesi * Test--spider--no-content-disposition-trivial.px: Added new tests for validation of HTTP Content-Disposition header support logic. In particular, these tests check wget's behavior for every combination of --spider [-r] and -e contentdisposition=on/off options. * Test--spider-r-HTTP-Content-Disposition.px: Ditto. * Test--spider-HTTP-Content-Disposition.px: Ditto. * Test--spider--no-content-disposition.px: Ditto. * Test--spider-r--no-content-disposition-trivial.px: Ditto. * Test--spider-r--no-content-disposition.px: Ditto. 2007-07-25 Micah Cowan * HTTPServer.pm (run, send_response): Farmed out some logic from the run method into a separate one named send_response, which was then modified to handle simple authentication testing. (handle_auth): Added to handle simple authentication testing. (verify_auth_basic): Checks to make sure Basic credentials are valid. (verify_auth_digest): Stub added; always fails test. * Makefile.in: Added Test-auth-basic.px to list of automatically run tests. * Test-auth-basic: Simple basic authentication test; mainly just lets the server do its testing. Its current purpose is just to ensure that correct basic creds are sent, but never until a challenge has been sent. 2007-07-10 Mauro Tortonesi * Test--no-content-disposition.px: Added new tests for validation of HTTP Content-Disposition header support logic. In particular, these tests check wget's behavior for every combination of -N/-O and -e contentdisposition=on/off options. * Test--no-content-disposition-trivial.px: Ditto. * Test-N-HTTP-Content-Disposition.px: Ditto. * Test-N--no-content-disposition.px: Ditto. * Test-N--no-content-disposition-trivial.px: Ditto. * Test-O-HTTP-Content-Disposition.px: Ditto. * Test-O--no-content-disposition.px: Ditto. * Test-O--no-content-disposition-trivial.px: Ditto. 2007-07-05 Micah Cowan * Makefile.in: Updated GPL reference to version 3 or later, removed FSF address. 2007-06-14 Mauro Tortonesi * FTPServer.pm: Added FTP testing support. * FTPTest.pm: Ditto. * Test-ftp.px: Ditto. 2006-12-22 Mauro Tortonesi * HTTPTest.pm: Don't ignore initial '/' character in requested URLs. 2006-11-10 Mauro Tortonesi * Test-np.px: Added test for -np. * HTTPTest.pm: Ignore initial '/' character in requested URLs. 2006-10-12 Mauro Tortonesi * Test1.px: Renamed to Test-noop.px. * Test-noop.px: Ditto. * Test2.px: Renamed to Test-N.px. * Test-N.px: Ditto. * Test3.px: Renamed to Test-nonexisting-quiet.px. * Test-nonexisting-quiet.px: Ditto. * Test4.px: Renamed to Test-O-nonexisting.px. * Test-O-nonexisting.px: Ditto. * Test5.px: Renamed to Test-HTTP-Content-Disposition.px. * Test-HTTP-Content-Disposition.px: Ditto. * Test6.px: Renamed to Test-HTTP-Content-Disposition-1.px. * Test-HTTP-Content-Disposition-1.px: Ditto. * Test7.px: Renamed to Test-HTTP-Content-Disposition-2.px. * Test-HTTP-Content-Disposition-2.px: Ditto. * Test8.px: Replaced by Test--spider-r.px. * Test9.px: Renamed to Test-Restrict-Lowercase.px. * Test-Restrict-Lowercase.px: Ditto. * Test10.px: Renamed to Test-Restrict-Uppercase.px. * Test-Restrict-Uppercase.px: Ditto. * Test--spider.px: Added test for spider mode. * Test--spider-fail.px: Added failing test for spider mode. * Test--spider-r.px: Added test for recursive spider mode. * Test-c.px: Added test for --continue mode. * Test-c-full.px: Added test for --continue mode. * Test-c-partial.px: Added test for --continue mode. * Test-O.px: Added test for -O. * Test-N-current.px: Added test for -N. * Test-N-old.px: Added test for -N. * Test-E-k.px: Added test for -E -k. * Test-E-k-K.px: Added test for -E -k -K. 2006-08-17 Mauro Tortonesi * HTTPServer.pm: Added support for Range header. 2006-07-14 Mauro Tortonesi * Test4.px: Fixed wrong expected behaviour. 2006-06-13 Mauro Tortonesi * Test9.px: Added test for --restrict-file-names=lowercase option. * Test10.px: Added test for --restrict-file-names=uppercase option. 2006-05-26 Mauro Tortonesi * HTTPServer.pm: Added synchronization between client and server processes to prevent the test to start before the server is ready. * HTTPTest.pm: Ditto. * Test.pm: Ditto. * Test1.px: Removed unneeded ../src/ from command line. * Test2.px: Ditto. * Test3.px: Ditto. * Test4.px: Ditto. * Test5.px: Ditto. * Test6.px: Ditto. * Test7.px: Ditto. * Test8.px: Added test for recursive spider mode. 2006-05-26 Mauro Tortonesi * HTTPServer.pm: Fixed bug when returning 404. Improved logging. * Test.pm: Added support for command lines which use an absolute path for the Wget binary. 2006-04-28 Mauro Tortonesi * Test5.px: Added test for HTTP Content-Disposition support. * Test6.px: Ditto. * Test7.px: Ditto. 2006-04-27 Mauro Tortonesi * HTTPServer.pm: Serve index.html if no filename is given. * Test.pm: Added support for pre-existing files. 2006-01-24 Mauro Tortonesi * HTTPServer.pm: Enhanced logging support. * HTTPTest.pm: Updated to new test format. * Test.pm: Improved test setup, verification and cleanup. Major refactoring. * Test1.px: Updated to new test format. * Test2.px: Updated to new test format. * Test3.px: Added new test for quiet download of nonexistent URL. * Test4.px: Added new test for quiet download of nonexistent URL with --output-document option. 2005-12-05 Mauro Tortonesi * HTTPServer.pm: Refactored as a subclass of HTTP::Daemon. Removed the old run method and renamed the old run_daemon method to run. Added support for partial * Testing.pm: Renamed to HTTPTest.pm. * HTTPTest.pm: Refactored as a subclass of Test. Renamed Run_HTTP_Test to run, verify_download to _verify_download and added support for timestamp checking. * Test.pm: Added Test class as the super class of every testcase. * test1: Renamed to Test1.px. * Test1.px: Refactored as an instance of the HTTPTest class. * Test2.px: Added -N HTTP test. 2005-11-02 Mauro Tortonesi * HTTPServer.pm: Added basic support for HTTP testing. * Testing.pm: Added basic support for feature testing (only HTTP testing is supported at the moment). * test1: Added basic HTTP test.