summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* test710: verify that --proxy socks5://hostname worksDaniel Stenberg2011-08-052-1/+58
|
* test709: HTTP GET via SOCKS5 set in environmentDaniel Stenberg2011-08-052-1/+62
|
* test1313: test content-disposition with uneven quotesDaniel Stenberg2011-08-042-1/+65
|
* -J: support ';' in quoted file namesDaniel Stenberg2011-08-043-1/+129
| | | | | | | | | | 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
* getpart.pm: when no part match, return blank when section endsDaniel Stenberg2011-08-041-0/+4
|
* runtests.pl: support option=no-includeDaniel Stenberg2011-08-042-2/+12
|
* NTLM single-sign on adjustments (VIII)Yang Tse2011-07-312-7/+7
| | | | | | | | | | | | 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]
* Renumbered test2005 to test1310Dan Fandrich2011-07-292-6/+6
| | | | The 20xx range is for multiple sequential tests.
* socketpair() usage tracking to allow fd leak detectionYang Tse2011-07-291-0/+8
|
* fix compiler warningYang Tse2011-07-291-1/+1
|
* NTLM single-sign on adjustments (VI)Yang Tse2011-07-281-0/+4
| | | | Fix compiler warning
* Removed an extraneous \n that violated the SSO daemon protocolDan Fandrich2011-07-281-1/+1
| | | | | This caused fake_ntlm to abort due to an invalid command causing sporadic test 2005 failures.
* NTLM single-sign on adjustments (V)Yang Tse2011-07-281-1/+75
| | | | Enhance test harness fake_ntlm logging upon invalid input.
* NTLM single-sign on adjustments (IV)Yang Tse2011-07-271-2/+8
| | | | Fix compiler warning
* NTLM single-sign on adjustments (II)Yang Tse2011-07-271-1/+36
| | | | Ensure test harness fake_ntlm main function can properly handle arguments.
* NTLM single-sign on adjustments (I)Yang Tse2011-07-271-1/+1
| | | | | Use fake_ntlm absolute filename in NTLM_AUTH environment variable for test 2005 definition.
* Fixed test 2005 to work in out-of-tree buildsDan Fandrich2011-07-262-5/+24
| | | | | Also, set the test number in the test data file so fake_ntlm can be reused in future tests.
* fix compiler warningYang Tse2011-07-263-7/+13
|
* errno.h inclusion conditionally done in setup_once.hYang Tse2011-07-242-2/+0
|
* http error response: stop sending when error is receivedDaniel Stenberg2011-07-204-3/+293
| | | | | | | | | | | | | | 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
* test2005: require a debug buildDaniel Stenberg2011-07-191-0/+1
|
* runtests: add 'debug' as a feature a test can requireDaniel Stenberg2011-07-192-1/+6
|
* gitignore: ignore fake_ntlmDaniel Stenberg2011-07-181-0/+1
|
* test2005: verify ntlm single-signonMandy Wu2011-07-185-2/+278
|
* sws: don't enable pipelining for requests with content-lengthDaniel Stenberg2011-07-171-16/+34
| | | | Log texts also modified and some white space edits
* runtests: ignore the 'all_proxy' environment variable as wellDaniel Stenberg2011-07-141-1/+1
| | | | | We should probably also make sure that [protocol]_proxy for all possible protocols libcurl supports are unset.
* sws: allow multiple commands in <servercmd>Daniel Stenberg2011-07-031-7/+26
|
* libtests: stop checking for CURLM_CALL_MULTI_PERFORMDaniel Stenberg2011-06-2713-164/+117
| | | | | | 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.
* Fixed test 1300 to pass the memory torture testDan Fandrich2011-06-241-1/+3
|
* Display notes from setup file in testcurl.plDan Fandrich2011-06-231-2/+4
| | | | | | | | | | | | | | | 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.
* Added a leap second test to test517Dan Fandrich2011-06-232-1/+3
|
* runtests.pl: warn if a test is explicitly disabledDaniel Stenberg2011-06-231-13/+20
| | | | Just to make sure a user is aware of it.
* parsedate: detect more invalid dates betterDaniel Stenberg2011-06-232-1/+10
|
* [pop3] remove extra space in LIST commandOri Avtalion2011-06-212-2/+2
| | | | Some servers, e.g. mail.bezeqint.net:110, consider it a syntax error
* unitteset: Curl_llist_moveAmr Shahin2011-06-191-1/+73
| | | | | | 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
* CURLFORM_STREAM: acknowledge CURLFORM_FILENAMEDaniel Stenberg2011-06-172-3/+26
| | | | | | | | | | | | | 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
* curl_formget: fix FILE * leakDaniel Stenberg2011-06-132-0/+20
| | | | | | | | | | 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
* Added http as a dependency of test 1308Dan Fandrich2011-06-111-0/+1
|
* test1309: added to the distDaniel Stenberg2011-06-121-1/+1
|
* write: add return code checks when usedDaniel Stenberg2011-06-112-3/+6
| | | | | These were just warnings in test code but it still makes it nicer to not generate them.
* Fixed test 1309 to pass the torture testDan Fandrich2011-06-111-12/+9
| | | | Removing dynamic allocations also simplifies the test.
* splay: add unit testsDaniel Stenberg2011-06-103-1/+1572
| | | | | 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
* unit test formpost: added test case 1308Daniel Stenberg2011-06-104-3/+110
| | | | | | 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.
* HTTP time condition: force closure for 200 OKDaniel Stenberg2011-06-072-3/+88
| | | | | | | | | When a time condition isn't met, so that no body is delivered to the application even though a 2xx response is being read from the server, we must close the connection to avoid a re-use of the connection to be completely tricked. Added test 1128 to verify.
* unit tests: attempt to fix linkage issueYang Tse2011-06-021-1/+1
|
* unit tests: more build adjustmentsYang Tse2011-06-013-16/+14
|
* makefile: avoid preprocessor definition usage when linkingYang Tse2011-06-012-10/+10
|
* testcurl.pl: allow configure args to use '='Daniel Stenberg2011-05-311-3/+4
|
* distribution: Fix EXTRA_DIST letter caseYang Tse2011-05-271-3/+3
|
* compiler warning: fixYang Tse2011-05-2614-16/+33
| | | | | | Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored