aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-11-06test 590: verify the bug fix in 4851dafcf1Daniel Stenberg
This test is created to verify Rene Bernhardt's patch which makes sure libcurl properly _not_ deals with Negotiate if not asked to even if the proxy says it can serve it.
2011-11-02FTP test server: NODATACONN commands follow-upYang Tse
Make NODATACONN425 and NODATACONN421 return a 150 positive preliminary reply before 425 or 421. New NODATACONN150 returns 150 without further positive nor negative reply Now NODATACONN doesn't reply anything at all.
2011-11-01FTP test server: NODATACONN commands follow-upYang Tse
Make NODATACONN custom commands apply to both active and passive FTP, and ensure 425 and 421 are not returned unless data channel usage is attempted.
2011-10-31FTP test server: NODATACONN commands commit c761fcb0 follow-upYang Tse
Adjustments that make NODATACONN custom commands fully usable.
2011-10-30FTP test server: fix server unresponsivenessYang Tse
Some torture tests left FTP test server in an unresponsive state, resulting in torture tests that actually completed following unexpected code paths. Changes in this commit solely address this issue and some adjustments for ftpserver.pl logging relative to data channel establishment and tear down. Pending NODATACONN relative adjustments reserved for a further commit.
2011-10-30runtests.pl: running server checks - commit 4464583a follow-upYang Tse
Ensure verification takes place with no server commands file. Ignore verbose setting for running server precheck. Tweak unresponsive server message, to allow detection by haxx.se scripts.
2011-10-28runtests.pl: running server checks - commit 3676ec96 follow-upYang Tse
Fix called sub when checking TFTP server, and adjust message.
2011-10-28runtests.pl: running server checks - commit 4464583a follow-upYang Tse
Extended server checks to others in addition to pingpong when torture testing.
2011-10-27lib589.c: add CURLOPT_READDATA missing stuffYang Tse
2011-10-27ftpserver.pl: three new custom FTP server commands to disable data channelYang Tse
NODATACONN421: applies only to active FTP mode, instructs server to not establish data connection back to client and reply with FTP 421. NODATACONN425: applies only to active FTP mode, instructs server to not establish data connection back to client and reply with FTP 425. NODATACONN: applies to both active and passive FTP modes, instructs server to not establish nor accept a data channel and fool client into believing that the data channel connection is possible. Some polishing probably required.
2011-10-26test 589: active FTP upload using multi timeout and EPRT disabled serverYang Tse
2011-10-26multi tests: OOM handling fixes - commit 629d2e34 follow-upYang Tse
2011-10-25runtests.pl: running server checksYang Tse
When running torture tests, verify before each test case that required pingpong servers which are supposed to be alive are actually responsive. If found not responsive then restart them.
2011-10-24dist: add test 587Daniel Stenberg
I created test 587 in commit 840eff44f2b but forgot to add the file to the tarball. Added now.
2011-10-24test 588: verify active FTP with multi interface without EPRTDaniel Stenberg
This is using the verbatim 525 test code but it disables EPRT in the server and this should work just as well anyway.
2011-10-24FTP server: allow EPRT by defaultDaniel Stenberg
EPRT is now supported by default by the server. To disable it, use the generic REPLY instruction in the <servercmd> tag. Test 116 now has it disabled. All other existing active FTP port tests strip out the port commands from the logs already so the change of the server isn't that noticable.
2011-10-24ftpserver.pl: ensure integral number usage for passive mode stringYang Tse
2011-10-24large headers: have curl accept >16K headersDaniel Stenberg
As commit 5850cc4808ab clarifies, libcurl can deliver header lines that are longer than CURL_MAX_WRITE_SIZE, only body data is limited to that size. The curl tool has check (when built debug-enabled) that made the wrong checks and this new test 1205 verifies that larger headers work.
2011-10-21Added some missing test case XML tags and keywordsDan Fandrich
2011-10-21runtests.pl: fix printing of multivalued error codesYang Tse
2011-10-21multi tests: OOM handling fixesYang Tse
Additionally, improved error checking and logging.
2011-10-20Curl_http_input_auth: handle multiple auths in WWW-AuthenticateDaniel Stenberg
The fix is pretty much the one Nick Zitzmann provided, just edited to do the right indent levels and with test case 1204 added to verify the fix. Bug: http://curl.haxx.se/mail/lib-2011-10/0190.html Reported by: Nick Zitzmann
2011-10-19Silenced a compiler warning about an unused variableDan Fandrich
2011-10-16formdata: ack read callback abortDaniel Stenberg
When doing a multipart formpost with a read callback, and that callback returns CURL_READFUNC_ABORT, that return code must be properly propagated back and handled accordingly. Previously it would be handled as a zero byte read which would cause a hang! Added test case 587 to verify. It uses the lib554.c source code with a small ifdef. Reported by: Anton Bychkov Bug: http://curl.haxx.se/mail/lib-2011-10/0097.html
2011-10-14sws.c: HTTP and GOPHER test server-side connection closing adjustmentYang Tse
When, for a given test, server is instructed to close connection after server reply we now wait a very small amount of time (50ms) before doing so. This is done to allow client to, at least partially, read server reply before getting an ECONNRESET. The above is required to make test cases 1070, 1200, 1201 and 1202 pass with Cygwin 1.5.X on W2K. GOPHER test server closes connection after _every_ server-reply, as such, at some point it could require a bigger time or using shutdown() before a server-side initiated disconnection.
2011-10-10lib540.c: OOM handling fixes making test 540 pass torture testingYang Tse
2011-10-07libcurl: some OOM handling fixesYang Tse
2011-10-06test harness: non-stunnel https server integration overhaulYang Tse
2011-09-28SSL session sharing support addedAlejandro Alvarez
With locking, plus test, plus documentation
2011-09-27tests/README: extended and reformattedDaniel Stenberg
2011-09-21test 814: smtp without --mail-fromDaniel Stenberg
Verifies the fix from commit 322f3d5af7093
2011-09-20Curl_follow: handle redirects to "//hostname/path"Daniel Stenberg
2011-09-13Curl_add_custom_headers: support headers with no datawarp kawada
A custom HTTP header ending in a semicolon instead of a colon will be treated as a header to be added without any data portion.
2011-09-10runtests.pl: replace TAB with spacesYang Tse
2011-09-10test harness: revert needless commit 0a5bbb2ac1Yang Tse
https, ftps and ssh servers allowed start up time back to previous values
2011-09-08lib582.c: fix segfault triggered when torture testing test case 582Yang Tse
2011-09-06test case 583: ensure that test failures don't go unnoticed - follow-upYang Tse
2011-09-06test suite: libtest header inclusion cleanup - follow-upYang Tse
Adjust tests/libtest/Makefile.inc and remove a couple of unused headers from tests/libtest/lib583.c
2011-09-06test case 583: ensure that test failures don't go unnoticedYang Tse
2011-09-06test suite: libtest header inclusion cleanupYang Tse
Added missing memoryTracking to test cases 560 and 583. If this triggers leak detection on these, it only means that previously it was going unnoticed.
2011-09-05fix bool variables checking and assignmentYang Tse
2011-09-05test suite: use test case specific netrc file namesYang Tse
2011-09-03fix a bunch of MSVC compiler warningsYang Tse
2011-09-01test harness: https, ftps and ssh servers allowed start up time increased 33%Yang Tse
2011-08-31test harness: fix detection of test harness client knownhosts fileYang Tse
Regenerate curl's tests client knownhosts file also when, somehow, this file is empty.
2011-08-31test harness: fix detection of test harness host and client key filesYang Tse
Regenerate curl's tests host and client key files also when, somehow, any of these files are empty.
2011-08-29tests: break busy loops in tests 502, 555, and 573Kamil Dudka
2011-08-27NTLM_WB: final congruency naming adjustmentsYang Tse
Configure script option --enable-wb-ntlm-auth renamed to --enable-ntlm-wb Configure script option --disable-wb-ntlm-auth renamed to --disable-ntlm-wb Preprocessor symbol WINBIND_NTLM_AUTH_ENABLED renamed to NTLM_WB_ENABLED Preprocessor symbol WINBIND_NTLM_AUTH_FILE renamed to NTLM_WB_FILE Test harness env var CURL_NTLM_AUTH renamed to CURL_NTLM_WB_FILE Static function wb_ntlm_close renamed to ntlm_wb_cleanup Static function wb_ntlm_initiate renamed to ntlm_wb_init Static function wb_ntlm_response renamed to ntlm_wb_response
2011-08-27NTLM single-sign on adjustments (XI)Yang Tse
Feature string literal NTLM_SSO renamed to NTLM_WB. Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED. curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'. Fix some comments to make clear that this is actually a NTLM delegation.
2011-08-24base64: fix Curl_base64_encode and Curl_base64_decode interfacesYang Tse
Previous interfaces for these libcurl internal functions did not allow to tell apart a legitimate zero size result from an error condition. These functions now return a CURLcode indicating function success or otherwise specific error. Output size is returned using a pointer argument. All usage of these two functions, and others closely related, has been adapted to the new interfaces. Relative error and OOM handling adapted or added where missing. Unit test 1302 also adapted.