Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-04 | Moved test 577 into the unit test framework as test 1307 | Dan Fandrich | |
2011-03-04 | Added unit test 1306 so tests 558 & 559 are now fully replaced | Dan Fandrich | |
2011-03-04 | The unit test argument is allowed to be used | Dan Fandrich | |
2011-03-04 | Converted tests 558 & 559 to use the unit test framework as 1305 | Dan Fandrich | |
Test 558 was just a subset of 559 which is something that can be easily added later. | |||
2011-03-04 | Fixed test 1300 to pass the torture test | Dan Fandrich | |
2011-03-04 | Added abort_* unit test macros | Dan Fandrich | |
These are for when a test failure makes it impossible to continue running further tests. | |||
2011-02-22 | runtests.pl/stopserver: space separate pids | Daniel Stenberg | |
The stopserver function would append pids to kill and could append them without separating them with space properly. The result would be a very large number that by (some implementations of) kill would be interpreted as a negative number and that process group would be wiped... Bug: http://curl.haxx.se/bug/view.cgi?id=3188836 Reported by: Greg Pratt | |||
2011-02-20 | tests: Cleaned up netrc testing. | Julien Chaffraix | |
Removed the "netrc_debug" keyword replaced with --netrc-file additions. Removed the debug code from Curl_parsenetrc as it is superseeded by --netrc-file. | |||
2011-02-10 | netrc: Enable setting up the filename in unit tests. | Julien Chaffraix | |
Unset the environment variable so that we can specify different filenames in the unit test. | |||
2011-02-10 | test1304: Added some unit tests for Curl_parsenetrc. | Julien Chaffraix | |
Moved some definitons into the header file so that we can reuse them. | |||
2011-02-02 | unit1300: code style cleanup | Daniel Stenberg | |
2011-02-02 | adding unit tests for Curl_llist_remove | Amr Shahin | |
2011-01-28 | test: add test 580 to the dist | Daniel Stenberg | |
2011-01-25 | tests: more multiple headers checks | Daniel Stenberg | |
2011-01-25 | HTTP: memory leak on multiple Location: | Daniel Stenberg | |
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 | |||
2011-01-22 | Fixed C++ style comment not allowed in ISO C90. | Guenter Knauf | |
2011-01-21 | Mention axTLS in some more documentation | Dan Fandrich | |
2011-01-20 | runtests.pl: make -s not show skipped tests | Daniel Stenberg | |
2011-01-20 | unittest: add 3 tests to test1300 | Amr Shahin | |
Testing Curl_llist_insert_next | |||
2011-01-19 | dist: add new certs to tarball | Daniel Stenberg | |
2011-01-19 | TLS-SRP: support added when using GnuTLS | Quinn Slack | |
2011-01-05 | Made unit_setup() return an error code to abort the test early | Dan Fandrich | |
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. | |||
2011-01-04 | tests: <info> tag corrections | Daniel Stenberg | |
2011-01-04 | unittest: 1303 tests Curl_timeleft | Daniel Stenberg | |
I came up with 33 different ways to call it and verify that it returns the correct return code. | |||
2011-01-04 | curlcheck.h: add fail() | Daniel Stenberg | |
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. | |||
2011-01-04 | Fixed path to allow out-of-tree builds | Dan Fandrich | |
2011-01-04 | ignore: all executable unit test cases | Daniel Stenberg | |
2011-01-04 | tests: add 1302 to the package | Daniel Stenberg | |
2011-01-04 | unittest: test base64 encode/decode | Daniel Stenberg | |
2011-01-04 | curlcheck.h: avoid using NULL pointers | Daniel Stenberg | |
2011-01-04 | curlcheck.h: add verify_memory | Daniel Stenberg | |
This check verifies that a pointer contains the correct data. | |||
2011-01-04 | curlcheck.h: add newlines in error messages | Daniel Stenberg | |
2011-01-04 | unittest: verify curl_strequal | Daniel Stenberg | |
2011-01-03 | curlcheck.h: add fail_if() fix code | Daniel Stenberg | |
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. | |||
2011-01-03 | unittests: basic docs | Daniel Stenberg | |
2011-01-03 | ignore: unit test files | Daniel Stenberg | |
2011-01-03 | unittests: a dedicated feature in tests | Daniel Stenberg | |
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. | |||
2011-01-03 | unittesting: build a separate static lib | Daniel Stenberg | |
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. | |||
2011-01-03 | unittest: framework for unit-testing | Daniel Stenberg | |
This is the first approach at doing fairly clean and easy to write and debug unit tests. | |||
2010-12-28 | test harness: take in account that Windows does not support LD_PRELOAD | Yang Tse | |
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. | |||
2010-12-23 | cookies: tricked dotcounter fixed | Daniel Stenberg | |
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. | |||
2010-12-22 | SMTP tests: updated MAIL FROM use | Daniel Stenberg | |
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. | |||
2010-12-17 | tftpd: avoid buffer overflow report from glibc | Paul Howarth | |
2010-12-16 | axTLS integration: silence runtests.pl perl warning | Yang Tse | |
2010-12-15 | Minor fixes to pass tests 301 and 306 with a patched axTLS. | Eric Hu | |
2010-12-15 | Initial axTLS integration. Connections can be made and some tests pass. | Eric Hu | |
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. | |||
2010-12-06 | sws: fix compier warning: external definition with no prior declaration | Yang Tse | |
2010-12-02 | fix compiler warning: rounding, sign extension, or loss of accuracy may result | Yang Tse | |
2010-11-28 | atoi: remove atoi usage | Yang Tse | |
2010-11-25 | symbol-scan: use configure script knowledge about how to run the C preprocessor | Yang Tse | |