aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2005-03-06added valgrind.pm to the distDaniel Stenberg
2005-03-04Added test case 235 that makes a resumed upload of a file that isn't presentDaniel Stenberg
on the remote side. This then converts the operation to an ordinary STOR upload. This was requested/pointed out by Ignacio Vazquez-Abrams. It also proved (and I fixed) a bug in the newly rewritten ftp code (and present in the 7.13.1 release) when trying to resume an upload and the servers returns an error to the SIZE command. libcurl then loops and sends SIZE commands infinitely.
2005-02-24Fixed some compiler warnings. Fixed a low incidence memory leak in the test ↵Dan Fandrich
server.
2005-02-22Curl_base64_decode() now returns an allocated bufferDaniel Stenberg
2005-02-19added test case 234 which is like 233 but uses --location-trusted instead soDaniel Stenberg
thus the second request to the new host will use authentication fine
2005-02-18Ralph Mitchell reported a flaw when you used a proxy with auth, and youDaniel Stenberg
requested data from a host and then followed a redirect to another host. libcurl then didn't use the proxy-auth properly in the second request, due to the host-only check for original host name wrongly being extended to the proxy auth as well. Added test case 233 to verify the flaw and that the fix removed the problem.
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-02-09FTP code turned into state machine. Not completely yet, but a good start.Daniel Stenberg
The tag 'before_ftp_statemachine' was set just before this commit in case of future need.
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-30properly mark tests as requiring feature 'SSL'Daniel Stenberg
2005-01-29when using valgrind, include a much longer stack traceDaniel Stenberg
2005-01-28adjusted to the moved unlock of the DNS entryDaniel Stenberg
2005-01-27test the EPRT/LPRT/PORT somewhat moreDaniel Stenberg
2005-01-27Use the same work-around for the memdebug stuff as in the command line client,Daniel Stenberg
to allow the contents of the env var decide the file name.
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-27verify a part of the PORT lineDaniel Stenberg
2005-01-26Make the server ignore the given PORT address, to make it possible to testDaniel Stenberg
curl's -P option easier.
2005-01-25Ian Ford asked about support for the FTP command ACCT, and I discovered it isDaniel Stenberg
present in RFC959... so now (lib)curl supports it as well. --ftp-account and CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account string after PASS have been sent away. The client responds with "ACCT [account string]".) Added test case 228 and 229 to verify the functionality. Updated the test FTP server to support ACCT somewhat.
2005-01-25A minor "syntax error" in numerous test files correctedDaniel Stenberg
2005-01-21FTP third transfer support overhaul. See CHANGES for details.Daniel Stenberg
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-20Support file names passed to RETR that don't start with a number. In thatDaniel Stenberg
case, all non-numeric prefixing letters are cut off to figure out the test number.
2005-01-20Philippe Hameau found out that -Q "+[command]" didn't work, although some codeDaniel Stenberg
was written for it. I fixed and added test case 227 to verify it. The curl.1 man page didn't mention the '+' so I added it.
2005-01-20add support for NOOPDaniel Stenberg
2005-01-19added test226 tooDaniel Stenberg
2005-01-19Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URLDaniel Stenberg
contains %0a or %0d in the user, password or CWD parts. (A future fix would include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225 and 226 were added to verify this
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-17support the new --id command line option, that allows a second (or third orDaniel Stenberg
whatever) instance to run without overwriting the previous' logfiles
2005-01-15output better error detection, like when ipv6 can't resolveDaniel Stenberg
2005-01-14verify the protocol tooDaniel Stenberg
2005-01-07disable the valgrind log checkingDaniel Stenberg
2005-01-07fixed the valgrind log check and make it possible to disable it for a specificDaniel Stenberg
test, see test 509
2005-01-07added test 199Daniel Stenberg
2004-12-21test enforced chunked encoding with PUT on a local fileDaniel Stenberg
2004-12-21Added test case 217 that verified CURLINFO_HTTP_CONNECTCODE, and I made theDaniel Stenberg
-w option support 'http_connect' to make it easier to verify!
2004-12-21set debug curl too when -c is usedDaniel Stenberg
2004-12-17duplicate ! typoDaniel Stenberg
2004-12-16fix skip-reasonDaniel Stenberg
2004-12-16two more ftp directory re-use tests addedDaniel 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-15fixed how backslashes are treated in glob stringsDaniel Stenberg
2004-12-14make sure the ipv6 http server gets its pid stored in a separate fileDaniel Stenberg
2004-12-14use the correct variables, not fixed valuesDaniel Stenberg
2004-12-14Harshal Pradhan fixed changing username/password on a persitent HTTPDaniel Stenberg
connection.
2004-12-14mistakeDaniel Stenberg
2004-12-13Fixed missing braces warning.Gisle Vanem
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-12Missing 'in6addr_any' in MingW's lib. ld bug?Gisle Vanem
2004-12-11HTTP IPv6 support added to the test suiteDaniel Stenberg