aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2007-08-22Bug report #1779054 (http://curl.haxx.se/bug/view.cgi?id=1779054) pointedDaniel Stenberg
out that libcurl didn't deal with very long (>16K) FTP server response lines properly. Starting now, libcurl will chop them off (thus the client app will not get the full line) but survive and deal with them fine otherwise. Test case 1003 was added to verify this.
2007-08-22added a size > buffer size check to make it easier to track this in theDaniel Stenberg
future
2007-08-22Upped the buffer size to 17000+ bytes to prepare for the upcoming test 1003Daniel Stenberg
that verfies ridiculously long server response lines. Also changed sprintf to snprintf in a few places.
2007-08-20Increase timeout for accept for improved reliability on loaded servers.Dan Fandrich
2007-08-17remove stupid comment since there's no content in this test caseDaniel Stenberg
2007-08-17Robson Braga Araujo filed bug report #1776235Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1776235) about ftp requests with NOBODY on a directory would do a "SIZE (null)" request. This is now fixed and test case 1000 was added to verify.
2007-08-17some keywords for future stats/coverage checksDaniel Stenberg
2007-08-17Moved the 5320 and 5322 into the 1000-series instead which is a documentedDaniel Stenberg
range. They are about FTP but the 100-199 range is full.
2007-08-17Song Ma provided a patch that cures a problem libcurl has when doing resumeDaniel Stenberg
HTTP PUT using Digest authentication. Test case 5320 and 5322 were also added to verify the functionality.
2007-08-13Removed redundant dependency linesDan Fandrich
2007-08-09There's no need to ignore the User-Agent for this test.Dan Fandrich
2007-08-07Fixed some icc compiler warnings.Dan Fandrich
2007-08-02Dmitriy Sergeyev reported a regression: resumed file:// transfers brokeDaniel Stenberg
after 7.16.2. This is much due to the different treatment file:// gets internally, but now I added test 231 to make it less likely to happen again without us noticing!
2007-07-23Implemented only the parts of Patrick Monnerat's OS/400 patch that renamedDan Fandrich
some few internal identifiers to avoid conflicts, which could be useful on other platforms.
2007-07-23Log the "<CMD> wasn't handled" error normally since it is now expectedDan Fandrich
to occur in a couple of tests.
2007-07-22Added test case 354 that makes a simple FTP retrieval without password, whichDaniel Stenberg
verifies the bug fix in #1757328.
2007-07-21test and verify curl -I on a single FTP file somewhat more than beforeDaniel Stenberg
2007-07-21To allow more flexibility in FTP test cases, I've removed the enforced statesDaniel Stenberg
from the test server code as they served no real purpose. The test server is here to serve for the test cases, not to attempt to function as a real server!
2007-07-19Revert the 512 change since newer versions of OpenSSH don't support DSADan Fandrich
keys that small.
2007-07-18Use 512 bit keys to reduce the time taken to generate them. This shouldn'tDan Fandrich
really reduce security since in the common case of a daily automated build the keys are only used for a single test run lasting a few minutes before being deleted.
2007-07-17Fixed test cases 613 and 614 by improving the log postprocessor to handleDan Fandrich
a new directory listing format that newer libssh2's can provide. This is probably NOT sufficient to handle all directory listing formats that server's can provide and should be revisited.
2007-07-16make it do all three requests on the same connectionDaniel Stenberg
2007-07-15convert test case 540 to use a custom Host: header as wellDaniel Stenberg
2007-07-15let's just export the whole argc + argv pair globally so that each test toolDaniel Stenberg
can take advantage of it however they see fit!
2007-07-14Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by ShmulikDaniel Stenberg
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-07-14add support for arg3 as the third argument...Daniel Stenberg
2007-07-14add some better logging when HTTP server start fails, and make the failureDaniel Stenberg
really hard if the test server can't be resolved (like for ::1 ipv6)
2007-07-12start the retry delay at 10 ms, double it for every failed attempt which makesDaniel Stenberg
it 10 seconds delay after 11 attempts
2007-07-12the timeout was probably too short with max = 1 sec, so lets test with 5 sec.Gunter Knauf
2007-07-12added time loop to sockfilt.c in order to wait for SO_REUSEADDR;Gunter Knauf
added go_sleep() to util.c.
2007-07-10Added a code coverage section using gcc and gcov.Dan Fandrich
2007-07-10Force the time zone to GMT in the cookie tests in case the user isDan Fandrich
using one of the so-called 'right' time zones that take into account leap seconds, which causes the tests to fail (as reported by Daniel Black in bug report #1745964).
2007-07-10The previous commits changed the error codeJames Housley
2007-07-10Fixed a curl memory leak reported by Song Ma with a modified versionDan Fandrich
of the patch he suggested. Added his test case as test289 to verify.
2007-07-05Add -a when running torture tests now that it's supported.Dan Fandrich
2007-06-28revert previous patch since it turned out that older cp dont know this ↵Gunter Knauf
switch, argh!
2007-06-28Using fdopen() is a more correct way to implement the CURLOPT_NEW_FILE_PREMSJames Housley
file.c, but the debug interface was missing. This adds the routines needed to make the memory debuging work for fdopen().
2007-06-28fixed nasty cp warnings about not beeing able to preserve ownership.Gunter Knauf
2007-06-25Adjusted how libcurl treats HTTP 1.1 responses without content-lenth orDaniel Stenberg
chunked encoding (that also lacks "Connection: close"). It now simply assumes that the connection WILL be closed to signal the end, as that is how RFC2616 section 4.4 point #5 says we should behave.
2007-06-21Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread CheckerDaniel Stenberg
tool reports and it was indeed a legitimate one and it is one fixed. It was a use of a share without doing the proper locking first.
2007-06-19and fix another flaw in the singlecwd case when we get ftp://site.com/, alsoDaniel Stenberg
from the #1739100 bug report
2007-06-18Test listing of root dir with the three ftp-methods. KNOWN_BUGS #44 make meDaniel Stenberg
disable test 351 by default by I add the test case anyway to make it easier to work on this problem in the future.
2007-06-14Tom Regner added /usr/lib/misc to the path to scan for sftp to make theDaniel Stenberg
sftp tests run fine on gentoo
2007-06-11Wait longer for servers to start up since the ssh server needs to generateDan Fandrich
keys the first time (which can take a while on a slow or loaded host). Enforce a longer startup wait time for the ssh client SOCKS server, too. Check for an error code from startnew() when starting any server.
2007-06-11We do not use RSA keys in the test suite.Dan Fandrich
2007-06-08Fixed the test harness so that it actually kills the ssh being used asDan Fandrich
the SOCKS server.
2007-06-08Improved compatibility with perl 5.0 on the 'open' calls.Dan Fandrich
2007-06-08Incorporated Daniel Black's test706 and test707 SOCKS test cases.Dan Fandrich
2007-06-08Improved compatibility with perl 5.0 on the 'open' calls.Dan Fandrich
2007-06-07Changed the opens to work on older versions of perl.Dan Fandrich
Redirect ssh output to ssh.log