aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2005-04-28When staring a HTTP server, use the pidfile preferably since it turns outDaniel Stenberg
sometimes the server can start but curl cannot speak to it, and then we must remember the server (in order to kill it properly) anyway. Also, make sure to kill all servers on exit everywhere.
2005-04-28remove unused ftps-server code and fixed two warningsDaniel Stenberg
2005-04-281. no longer ask the server for the HTTPS pid, as it returns the HTTP pidDaniel Stenberg
(problem identified by Dan F) 2. initial text mode fix for file checks, to allow better text file testing on windows (with regard to line endings) 3. fixed to use the proper ftpserver pidfile to find pid
2005-04-27detect SSL library properly and display it on startupDaniel Stenberg
2005-04-22ignore the memdump file when showing files after a failureDaniel Stenberg
2005-04-22modified the test case success reporting, added "test N out of Y" andDaniel Stenberg
"remaining: [time]" outputs to hint users about what to expect
2005-04-18Modified the FTP server to use the new 'sockfilt' program to do all the socketDaniel Stenberg
level stuff. The FTP server communicates with sockfilt using perl's open2(). This enables easier IPv6 support and hopefully FTP-SSL support in the future. Added four test cases for FTP-ipv6.
2005-04-14make the ftp server support reply/servercmd, and make SLOWDOWN work, andDaniel Stenberg
update the docs accordingly
2005-04-12support tests that requires 'OpenSSL' specificlyDaniel Stenberg
2005-03-21Make NTLM tests depend on the NTLM feature at not SSL, since the NTLM supportDaniel Stenberg
is no longer only present when built with SSL support.
2005-03-17support multiple error codes for a test case since some things just varyDaniel Stenberg
between platforms
2005-03-16check for the HTTPS server in a manner similar to how we check for the HTTPDaniel Stenberg
server
2005-02-10Moved out the valgrind report parser to valgrind.pm, to make it easier toDaniel Stenberg
test it outside the test suite. Now we also disable valgrind usage if libcurl was built shared, as then valgrind is only testing the wrapper-script running shell which is pointless.
2005-01-30Bugfixed the parser that scans the valgrind report outputs. I noticed that itDaniel Stenberg
previously didn't detect and report the "Conditional jump or move depends on uninitialised value(s)" error. When I fixed this, I caught a few curl bugs with it. And then I had to spend time to make the test suite IGNORE these errors when OpenSSL is used since it produce massive amounts of valgrind warnings (but only of the "Conditional..." kind it seems). So, if a test that requires SSL is run, it ignores the "Conditional..." errors, and you'll get a "valgrind PARTIAL" output instead of "valgrind OK".
2005-01-29when using valgrind, include a much longer stack traceDaniel Stenberg
2005-01-27Make the debug build get the debug dump file path from the environmentDaniel Stenberg
variable to allow the test suite to better control where it ends up.
2005-01-20Added support for "verify" => "stripfile" to strip contents of the file thatDaniel Stenberg
is being checked. Also made the server retrying sleep only one second instead of three, to reduce some waiting when fooling around with the servers.
2005-01-17Add support for server 'ftp2' which is a second FTP server. Useful for 3rdDaniel Stenberg
party transfer tests or tests that need two FTP servers.
2005-01-15output better error detection, like when ipv6 can't resolveDaniel Stenberg
2005-01-07fixed the valgrind log check and make it possible to disable it for a specificDaniel Stenberg
test, see test 509
2004-12-21set debug curl too when -c is usedDaniel Stenberg
2004-12-17duplicate ! typoDaniel Stenberg
2004-12-16fix skip-reasonDaniel Stenberg
2004-12-16Provide better reasons for why test cases are skipped. Also, don't show theDaniel Stenberg
SKIPPED stuff in the short output. Some platforms get quite a lot of SKIPPED and they don't add much value and only clutter screen space.
2004-12-16Dinar in bug report #1086121, found a file handle leak when a multipartDaniel Stenberg
formpost (including a file upload part) was aborted before the whole file was sent.
2004-12-14make sure the ipv6 http server gets its pid stored in a separate fileDaniel Stenberg
2004-12-12when failing to verify a HTTP server, display what curl said on stderr toDaniel Stenberg
help debugging. (when using ipv6 I fell over this server that didn't have the ipv6 module loaded)
2004-12-11HTTP IPv6 support added to the test suiteDaniel Stenberg
2004-11-30Fixed the array comparison function even more, made the temporary files usedDaniel Stenberg
for diff output get created in the log/ dir and no longer deletes them since they help in understanding the problem, fixing the test case and fixing curl problems.
2004-11-30no longer use the MIME::Base64.pm package as it seems to not be standardDaniel Stenberg
on lots of perl versions, provide our own base64 decoder
2004-11-29make it possible for a test case to depend on the feature 'libz'Daniel Stenberg
2004-11-29Enable test cases to provide sections base64-encoded to be able to testDaniel Stenberg
with binary data.
2004-11-26last-second-before-commit changes correctedDaniel Stenberg
2004-11-25FTP improvements:Daniel Stenberg
If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on the same server again even if a following request is made using a persistent connection. If a second request is made to a server, requesting a file from the same directory as the previous request operated on, libcurl will no longer make that long series of CWD commands just to end up on the same spot. Note that this is only for *exactly* the same dir. There is still room for improvements to optimize the CWD-sending when the dirs are only slightly different. Added test 210, 211 and 212 to verify these changes. Had to improve the test script too and added a new primitive to the test file format.
2004-11-23introducing the client/precheck concept to allow test 518 to *only* run whenDaniel Stenberg
it actually can run and test the FD_SETSIZE stuff it is meant to test
2004-11-22David Phillips fix for test 518 and my extension to make it not run onDaniel Stenberg
systems that can't run it fine.
2004-10-25just nicer output when this is seenDaniel Stenberg
2004-09-08Now the test servers and test cases can run on a custom port number. There'sDaniel Stenberg
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
2004-08-24prevent files named ".nfs[something]" from being displayed when failingDaniel Stenberg
2004-08-23Provide support for "transferring" zero bytes FTP files and comparing thatDaniel Stenberg
the output file actually is zero bytes after the transfer.
2004-07-26Bertrand Demiddelaer made the testing work with valgrind 2.1Daniel Stenberg
2004-06-22retry to read the sent request a few times if it doesn't exist the first timeDaniel Stenberg
2004-06-17new daring features, not used by any current testDaniel Stenberg
2004-06-14refuse running the torture tests without a debug buildDaniel Stenberg
2004-05-17removed debug output and trailing whitespaceDaniel Stenberg
2004-05-17grrr, fix the check again if no ftp server at all is runningDaniel Stenberg
2004-05-17improved the check for our own ftp serverDaniel Stenberg
2004-05-13made 'runtests.pl -t' run over all the tests just like other command linesDaniel Stenberg
Also made -t imply -n to disable valgrind, it runs sloooow otherwise. This now manages to run all tests OK up to test case 100 (the first FTP one) for me.
2004-05-11revert the accidentally added use of straceDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.