Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unit1300: code style cleanup | Daniel Stenberg | 2011-02-02 | 1 | -53/+52 |
| | |||||
* | adding unit tests for Curl_llist_remove | Amr Shahin | 2011-02-02 | 1 | -1/+83 |
| | |||||
* | test: add test 580 to the dist | Daniel Stenberg | 2011-01-28 | 1 | -1/+1 |
| | |||||
* | tests: more multiple headers checks | Daniel Stenberg | 2011-01-25 | 3 | -1/+108 |
| | |||||
* | HTTP: memory leak on multiple Location: | Daniel Stenberg | 2011-01-25 | 2 | -0/+59 |
| | | | | | | | | | The HTTP parser allocated memory on each received Location: header without properly freeing old data. Starting now, the code only considers the first Location: header and will blissfully ignore subsequent ones. Bug: http://curl.haxx.se/bug/view.cgi?id=3165129 Reported by: Martin Lemke | ||||
* | Fixed C++ style comment not allowed in ISO C90. | Guenter Knauf | 2011-01-22 | 1 | -1/+1 |
| | |||||
* | Mention axTLS in some more documentation | Dan Fandrich | 2011-01-21 | 1 | -0/+1 |
| | |||||
* | runtests.pl: make -s not show skipped tests | Daniel Stenberg | 2011-01-20 | 1 | -1/+1 |
| | |||||
* | unittest: add 3 tests to test1300 | Amr Shahin | 2011-01-20 | 1 | -1/+79 |
| | | | | Testing Curl_llist_insert_next | ||||
* | dist: add new certs to tarball | Daniel Stenberg | 2011-01-19 | 1 | -1/+2 |
| | |||||
* | TLS-SRP: support added when using GnuTLS | Quinn Slack | 2011-01-19 | 12 | -7/+439 |
| | |||||
* | Made unit_setup() return an error code to abort the test early | Dan Fandrich | 2011-01-05 | 5 | -17/+32 |
| | | | | | | This makes it possible to skip the call to unit_stop() in such cases. Also use Curl_safefree() in unit test 1302 so it will pass the memory torture test. | ||||
* | tests: <info> tag corrections | Daniel Stenberg | 2011-01-04 | 2 | -2/+2 |
| | |||||
* | unittest: 1303 tests Curl_timeleft | Daniel Stenberg | 2011-01-04 | 4 | -2/+152 |
| | | | | | I came up with 33 different ways to call it and verify that it returns the correct return code. | ||||
* | curlcheck.h: add fail() | Daniel Stenberg | 2011-01-04 | 1 | -0/+10 |
| | | | | | fail is a new function/macro that a test case can use to indicate a test failure for cases when the standard macros are not sufficient. | ||||
* | Fixed path to allow out-of-tree builds | Dan Fandrich | 2011-01-04 | 1 | -2/+2 |
| | |||||
* | ignore: all executable unit test cases | Daniel Stenberg | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | tests: add 1302 to the package | Daniel Stenberg | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | unittest: test base64 encode/decode | Daniel Stenberg | 2011-01-04 | 3 | -1/+110 |
| | |||||
* | curlcheck.h: avoid using NULL pointers | Daniel Stenberg | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | curlcheck.h: add verify_memory | Daniel Stenberg | 2011-01-04 | 1 | -0/+7 |
| | | | | This check verifies that a pointer contains the correct data. | ||||
* | curlcheck.h: add newlines in error messages | Daniel Stenberg | 2011-01-04 | 1 | -6/+6 |
| | |||||
* | unittest: verify curl_strequal | Daniel Stenberg | 2011-01-04 | 4 | -2/+65 |
| | |||||
* | curlcheck.h: add fail_if() fix code | Daniel Stenberg | 2011-01-03 | 1 | -1/+10 |
| | | | | | | The UNITTEST_START and UNITTEST_STOP defines needed to do a new brace level so that test cases can declare variables fine and still remain fine C89 code. | ||||
* | unittests: basic docs | Daniel Stenberg | 2011-01-03 | 1 | -0/+73 |
| | |||||
* | ignore: unit test files | Daniel Stenberg | 2011-01-03 | 1 | -0/+1 |
| | |||||
* | unittests: a dedicated feature in tests | Daniel Stenberg | 2011-01-03 | 3 | -9/+16 |
| | | | | | | The test runner script now knows if unittests can run and the unit test setup file says it is one. I also made runtests.pl deal with no <command> tag set, so that the description file can get even simpler. | ||||
* | unittesting: build a separate static lib | Daniel Stenberg | 2011-01-03 | 1 | -2/+11 |
| | | | | | | | When configure --enable-debug has been used, all files in lib/ are now built twice and a separate static library crafted for unit-testing will be linked. The unit tests in the tests/unit subdir will use that library. | ||||
* | unittest: framework for unit-testing | Daniel Stenberg | 2011-01-03 | 10 | -6/+185 |
| | | | | | This is the first approach at doing fairly clean and easy to write and debug unit tests. | ||||
* | test harness: take in account that Windows does not support LD_PRELOAD | Yang Tse | 2010-12-28 | 1 | -4/+9 |
| | | | | | | | configure.ac: Test harness libhostname library will not be built for Windows. runtests.pl: LD_PRELOAD mechanism will not be used to load libhostname library on operating systems which lack LD_PRELOAD support. | ||||
* | cookies: tricked dotcounter fixed | Daniel Stenberg | 2010-12-23 | 1 | -0/+1 |
| | | | | | | | | | | Providing multiple dots in a series in the domain field (domain=..com) could trick the cookie engine to wrongly accept the cookie believing it to be fine. Since the tailmatching would then match all .com sites, the cookie would then be sent to all of them. The code now requires at least one letter between each dot for them to be counted. Edited test case 61 to verify this. | ||||
* | SMTP tests: updated MAIL FROM use | Daniel Stenberg | 2010-12-22 | 6 | -7/+7 |
| | | | | | | They were all wrong previously since none used the <brackets> they should for MAIL FROM. Now libcurl adds them itself if the app doesn't so they end up wrong less easy. | ||||
* | tftpd: avoid buffer overflow report from glibc | Paul Howarth | 2010-12-17 | 1 | -2/+4 |
| | |||||
* | axTLS integration: silence runtests.pl perl warning | Yang Tse | 2010-12-16 | 1 | -2/+2 |
| | |||||
* | Minor fixes to pass tests 301 and 306 with a patched axTLS. | Eric Hu | 2010-12-15 | 1 | -1/+1 |
| | |||||
* | Initial axTLS integration. Connections can be made and some tests pass. | Eric Hu | 2010-12-15 | 1 | -0/+12 |
| | | | | | | Failed HTTPS tests: 301, 306, 311, 312, 313, 560 311, 312 need more detailed error reporting from axTLS. 313 relates to CRL, which hasn't been implemented yet. | ||||
* | sws: fix compier warning: external definition with no prior declaration | Yang Tse | 2010-12-06 | 1 | -1/+1 |
| | |||||
* | fix compiler warning: rounding, sign extension, or loss of accuracy may result | Yang Tse | 2010-12-02 | 2 | -2/+2 |
| | |||||
* | atoi: remove atoi usage | Yang Tse | 2010-11-28 | 5 | -7/+10 |
| | |||||
* | symbol-scan: use configure script knowledge about how to run the C preprocessor | Yang Tse | 2010-11-25 | 1 | -4/+17 |
| | |||||
* | ignore file generated by configure | Yang Tse | 2010-11-25 | 1 | -0/+1 |
| | |||||
* | Check for errors while preprocessing curl.h in test 1119 | Dan Fandrich | 2010-11-19 | 2 | -3/+8 |
| | | | | | | This showed a problem when running the test out-of-tree, so an include path is now being added to pick up the generated curlbuild.h file. | ||||
* | Use the 3-argument open for compatibility with older perls | Dan Fandrich | 2010-11-19 | 1 | -1/+1 |
| | |||||
* | test servers: fix strict aliasing compiler warnings | Yang Tse | 2010-11-19 | 6 | -129/+188 |
| | |||||
* | test1120: verify FTP response 421 | Daniel Stenberg | 2010-11-10 | 2 | -1/+45 |
| | | | | curl mustn't try to use the control connection after the 421 is received | ||||
* | ftpserver.pl: spellfix comment | Daniel Stenberg | 2010-11-10 | 1 | -1/+1 |
| | |||||
* | symbols-in-version: add CURL_SOCKET_BAD | Daniel Stenberg | 2010-11-09 | 1 | -1/+12 |
| | | | | | I also documented the filtering logic in the symbol-scan.pl function to clarify why not all CURL_* symbols are included. | ||||
* | ftp: close connection as soon as ABOR has been sent | Kamil Dudka | 2010-11-08 | 3 | -3/+0 |
| | | | | | | | ... and do not send ABOR unless really necessary. Bug: https://bugzilla.redhat.com/649347 Reported by: Simon H. | ||||
* | test: remove test 580 | Daniel Stenberg | 2010-11-05 | 4 | -26/+3 |
| | | | | | | | | | | | | | Test 580 is removed again for two reasons: 1) Some compilers aren't satisfied by just a data variable called 'test' when first.o wants a function called 'test'. The Solaris compiler says "ld: warning: symbol `test' has differing types:" while the AIX compiler downright rejects it. 2) Test case 1119 that was added after this test is way more complete and cover everything test 580 does and more without introducing the same problems. | ||||
* | Allow building test 580 out of tree | Dan Fandrich | 2010-11-03 | 1 | -2/+2 |
| |