aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
2010-07-30sethostname: ISO C does not allow extra `;' outside of a functionDaniel Stenberg
2010-07-30NTLM tests: boost coverage by forcing the hostnameKamil Dudka
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.
2010-06-17test575: do not fail with threaded DNS resolverKamil Dudka
2010-05-31fix compiler warning: external declaration in primary source fileYang Tse
2010-05-31fix compiler warning: variable was set but never usedYang Tse
2010-05-29CURL_LLONG_MAX: avoid constant overflowKamil Dudka
... when (CURL_SIZEOF_CURL_OFF_T == 4)
2010-05-28lib577: avoid redefinition of ERRORKamil Dudka
2010-05-27lib573: do not compare double for exact matchTor Arntsen
2010-05-20Test 573: Use correct type for CURLINFO_CONNECT_TIMETor Arntsen
curl_easy_getinfo() called with a pointer to long instead of double would sigbus on RISC processors (e.g. MIPS) due to wrong alignment of pointer address.
2010-05-16ftp wildcard: a new option CURLOPT_FNMATCH_DATAKamil Dudka
2010-05-14Fixed test 577 to work when --enable-hidden-symbols is configuredDan Fandrich
2010-05-12FTP: WILDCARDMATCH/CHUNKING/FNMATCH addedPavel Raiskup
2010-05-07multi interface: missed storing connection timeDaniel Stenberg
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
2010-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-04-15Eliminated an unlikely race condition in some tests.Dan Fandrich
Based on a patch from the FreeBSD ports by Peter Pentchev.
2010-03-30Call curl_global_cleanup() in test 560 to avoid a memory leakDan Fandrich
2010-03-30Allow test 538 to run even when proxy support is disabledDan Fandrich
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-25s/CVS/DEV in the version string from the git repoDaniel Stenberg
2010-03-24remove debug printfsChris Conroy
2010-03-24remove trace of CVSDaniel Stenberg
2010-03-24Fix RTSP GET_PARAMETER empty and non-empty operation.Chris Conroy
Test coverage included. Thanks to Massimo Callegari for the bug report
2010-03-24s/CVS/DEV/ in the version string for repo versionsDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-03-23ignore more files generated when tests run in the source treeDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-14removed trailing whitespaceYang Tse
2010-02-06OOM handling fixYang Tse
2010-02-05fix compiler warningYang Tse
2010-02-05fix compiler warningYang Tse
2010-02-05fix compiler warningYang Tse
2010-02-05Addes OOM handling for curl_easy_setopt() calls in testYang Tse
2010-02-04Fix variable initializationYang Tse
2010-02-04Modified test case 557 to additionally verify libcurl's internal curl_m*printf()Yang Tse
functions formatting functionality when handling signed and unsigned shorts.
2010-02-03Fix portability issue related with unaligned memory accessYang Tse
2010-02-02avoid possibility of using obsoleted stuffYang Tse
2010-02-02remove setup.h inclusion which is already done from test.h inclusionYang Tse
2010-02-02include headersYang Tse
2010-02-01Conroy added a check to the coded message size since the docs stipulateYang Tse
that each call will contain a full protocol packet.
2010-01-28portability fixYang Tse
2010-01-28Chris Conroy provided first RTSP testsYang Tse
2009-11-05I removed leading 'curl' path on the 'curlbuild.h' include statement inYang Tse
curl.h, adjusting auto-makefiles include path, to enhance portability to OS's without an orthogonal directory tree structure such as OS/400.
2009-10-31- Gabriel Kuri reported a problem with CURLINFO_CONTENT_LENGTH_DOWNLOAD if theDaniel Stenberg
download was 0 bytes, as libcurl would then return the size as unknown (-1) and not 0. I wrote a fix and test case 566 to verify it.
2009-10-30Added test case 566 in an attempt to repeat bug 2884561Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=2884561) but it seems to work for me...
2009-10-30- "Tom" posted a bug report that mentioned how libcurl did wrong when doing aDaniel Stenberg
POST using a read callback, with Digest authentication and "Transfer-Encoding: chunked" enforced. I would then cause the first request to be wrongly sent and then basically hang until the server closed the connection. I fixed the problem and added test case 565 to verify it.
2009-10-10Fix compiler warning: loop without bodyYang Tse
2009-08-27disable the tests that differ between 32 and 64 bitDaniel Stenberg
2009-08-12Added a range of new fun date strings to try. This set of dates come from aDaniel Stenberg
mail posted to the http-state mailing list, from Adam Barth, and is said to be the set of date formats the Chrome browser code is tested against: http://www.ietf.org/mail-archive/web/http-state/current/msg00129.html libcurl parses most of them identically, but not all of them.
2009-07-22don't set READDATA since it isn't used and only confuses readersDaniel Stenberg
2009-07-14ENH: add optional support for c-aresBill Hoffman