aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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.
2011-08-21runtests.pl: option -gw for single test windowed debugging (where possible)Yang Tse
2011-08-21MemoryTracking: adjust initialization calling - followupYang Tse
Fix macro definition
2011-08-20MemoryTracking: adjust initialization callingYang Tse
Calling of curl_memdebug() was still done with a pending free()
2011-08-19test573: fix the keywordsDaniel Stenberg
2011-08-15test572: fixedDaniel Stenberg
Two problems were fixed: GET_PARAMETER responses that have no body must be 204 response or properly set length to 0. One of the <data> sections had the wrong content-length for its GET_PARAMETER response. Enabled test 572 again.
2011-08-15tests: disable #572Yang Tse
2011-08-09cookie parser: handle 'secure='Daniel Stenberg
There are two keywords in cookie headers that don't follow the regular name=value style: secure and httponly. Still we must support that they are written like 'secure=' and then treat them as if they were written 'secure'. Test case 31 was much extended by Rob Ward to test this. Bug: http://curl.haxx.se/bug/view.cgi?id=3349227 Reported by: "gnombat"
2011-08-08CURLFORM_BUFFER: insert filename as documentedDaniel Stenberg
A regression where CURLFORM_BUFFER stopped to properly insert the file name part in the formpart. Bug introduced in commit f851f768578dc096. Added CURLFORM_BUFFER use to test 554 to verify this. Bug: http://curl.haxx.se/mail/lib-2011-07/0176.html Reported by: Henry Ludemann
2011-08-05test710: verify that --proxy socks5://hostname worksDaniel Stenberg
2011-08-05test709: HTTP GET via SOCKS5 set in environmentDaniel Stenberg
2011-08-04test1313: test content-disposition with uneven quotesDaniel Stenberg
2011-08-04-J: support ';' in quoted file namesDaniel Stenberg
Content-disposition headers can provide file names with semicolons which previously would be cut off at that point. Added test case 1311 and 1312 to verify -J. Bug: http://curl.haxx.se/bug/view.cgi?id=3375603 Reported by: Peter Hjalmarsson
2011-08-04getpart.pm: when no part match, return blank when section endsDaniel Stenberg
2011-08-04runtests.pl: support option=no-includeDaniel Stenberg
2011-07-31NTLM single-sign on adjustments (VIII)Yang Tse
Use preprocessor symbols WINBIND_NTLM_AUTH_ENABLED and WINBIND_NTLM_AUTH_FILE for Samba's winbind daemon ntlm_auth helper code implementation and filename. Retain preprocessor symbol USE_NTLM_SSO for NTLM single-sign-on feature availability implementation independent. For test harness, prefix NTLM_AUTH environment vars with CURL_ Refactor and rename configure option --with-ntlm-auth to --enable-wb-ntlm-auth[=FILE]
2011-07-29Renumbered test2005 to test1310Dan Fandrich
The 20xx range is for multiple sequential tests.
2011-07-29socketpair() usage tracking to allow fd leak detectionYang Tse
2011-07-29fix compiler warningYang Tse
2011-07-28NTLM single-sign on adjustments (VI)Yang Tse
Fix compiler warning
2011-07-28Removed an extraneous \n that violated the SSO daemon protocolDan Fandrich
This caused fake_ntlm to abort due to an invalid command causing sporadic test 2005 failures.
2011-07-28NTLM single-sign on adjustments (V)Yang Tse
Enhance test harness fake_ntlm logging upon invalid input.
2011-07-27NTLM single-sign on adjustments (IV)Yang Tse
Fix compiler warning
2011-07-27NTLM single-sign on adjustments (II)Yang Tse
Ensure test harness fake_ntlm main function can properly handle arguments.
2011-07-27NTLM single-sign on adjustments (I)Yang Tse
Use fake_ntlm absolute filename in NTLM_AUTH environment variable for test 2005 definition.
2011-07-26Fixed test 2005 to work in out-of-tree buildsDan Fandrich
Also, set the test number in the test data file so fake_ntlm can be reused in future tests.
2011-07-26fix compiler warningYang Tse
2011-07-24errno.h inclusion conditionally done in setup_once.hYang Tse
2011-07-20http error response: stop sending when error is receivedDaniel Stenberg
When libcurl has said to the server that there's a POST or PUT coming (with a content-length and all) it has to either deliver that amount of data or it needs to close the connection before trying a second request. Adds test case 1129, 1130 and 1131 The bug report is about when used with 100-continue, but the change is more generic. Bug: http://curl.haxx.se/mail/lib-2011-06/0191.html Reported by: Steven Parkes
2011-07-19test2005: require a debug buildDaniel Stenberg
2011-07-19runtests: add 'debug' as a feature a test can requireDaniel Stenberg
2011-07-18gitignore: ignore fake_ntlmDaniel Stenberg
2011-07-18test2005: verify ntlm single-signonMandy Wu