aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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
2011-07-17sws: don't enable pipelining for requests with content-lengthDaniel Stenberg
Log texts also modified and some white space edits
2011-07-14runtests: ignore the 'all_proxy' environment variable as wellDaniel Stenberg
We should probably also make sure that [protocol]_proxy for all possible protocols libcurl supports are unset.
2011-07-03sws: allow multiple commands in <servercmd>Daniel Stenberg
2011-06-27libtests: stop checking for CURLM_CALL_MULTI_PERFORMDaniel Stenberg
CURLM_CALL_MULTI_PERFORM stopped being a valid return code from curl_multi_perform back in 7.20.0. All the libcurl tests are ajusted to this and no longer check for this return code. Makes them simpler.
2011-06-24Fixed test 1300 to pass the memory torture testDan Fandrich
2011-06-23Display notes from setup file in testcurl.plDan Fandrich
Autobuild submitters can use this to add some text to their setup files to describe issues they've found with the build or tests. This could include laying blame on test failures on network issues or dependent libraries, explaining away compiler warnings or providing any additional information that could be useful to people reviewing and investigating problems with the publicly available autobuild logs. Note that persistent test failures that are not issues with curl itself should normally be fixed by excluding them from the test run instead. This is an entirely optional field that is not entered by the user the first time a new build is created.
2011-06-23Added a leap second test to test517Dan Fandrich
2011-06-23runtests.pl: warn if a test is explicitly disabledDaniel Stenberg
Just to make sure a user is aware of it.
2011-06-23parsedate: detect more invalid dates betterDaniel Stenberg
2011-06-21[pop3] remove extra space in LIST commandOri Avtalion
Some servers, e.g. mail.bezeqint.net:110, consider it a syntax error
2011-06-19unitteset: Curl_llist_moveAmr Shahin
adding unit test for Curl_llist_move, documenting unit-tested functions in llist.c, changing unit-test to unittest, replacing assert calls with abort_unless calls
2011-06-17CURLFORM_STREAM: acknowledge CURLFORM_FILENAMEDaniel Stenberg
The CURLFORM_STREAM is documented to only insert a file name (and thus look like a file upload) in the part if CURLFORM_FILENAME is set, but in reality it always inserted a filename="" and if CURLFORM_FILENAME wasn't set, it would insert insert rubbish (or possibly crash). This is now fixed to work as documented, and test 554 has been extended to verify this. Reported by: Sascha Swiercy Bug: http://curl.haxx.se/mail/lib-2011-06/0070.html
2011-06-13curl_formget: fix FILE * leakDaniel Stenberg
Properly deal with the fact that the last fread() call most probably is a short read, and when using callbacks in fact all calls can be short reads. No longer consider a file read done until it returns a 0 from the read function. Reported by: Aaron Orenstein Bug: http://curl.haxx.se/mail/lib-2011-06/0048.html
2011-06-11Added http as a dependency of test 1308Dan Fandrich
2011-06-12test1309: added to the distDaniel Stenberg
2011-06-11write: add return code checks when usedDaniel Stenberg
These were just warnings in test code but it still makes it nicer to not generate them.
2011-06-11Fixed test 1309 to pass the torture testDan Fandrich
Removing dynamic allocations also simplifies the test.
2011-06-10splay: add unit testsDaniel Stenberg
The test code that was #ifdef'ed in the code was converted into unit tests in test case 1309. I also removed the #if 0'ed code from splay.c
2011-06-10unit test formpost: added test case 1308Daniel Stenberg
This is a few first rather basic tests of curl_formadd() and curl_formget(). Should serve as building blocks to add more variations to the test.