aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/Makefile.am
AgeCommit message (Collapse)Author
2009-06-04c-ares embbeded builds header include paths fully defined in makefilesYang Tse
2009-05-30Delegate c-ares linking magic on libtool and auto-makefiles when usingYang Tse
the uninstalled c-ares libtool archive built from the CVS embedded tree.
2009-04-07and include the .inc files in the release tarballs...Daniel Stenberg
2009-04-07Added missing tests in CMake, added Makefile.inc for tests (+ use in CMake ↵Benoit Neil
scripts), and fixed a missing define under windows in a test source file.
2008-11-11Added test case 560:Daniel Stenberg
This test was added after the HTTPS-using-multi-interface with OpenSSL regression of 7.19.1 to hopefully prevent this embarassing mistake from appearing again... Unfortunately the bug wasn't triggered by this test, which presumably is because the connect to a local server is too fast/different compared to the real/distant servers we saw the bug happen with.
2008-10-28fix test # 558 and 559 CFLAGSYang Tse
2008-10-27test #558 tests internal hash create/destroyYang Tse
test #559 tests internal hash create/add/destroy
2008-10-26test #558 verifies loop operation using malloc() and free()Yang Tse
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-07-15add comment for include pathsYang Tse
2008-07-07- Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg
fix for it. It occured when you did a FTP transfer using CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being cleared properly. Scott's test case is now known as test 539 and it verifies the fix.
2008-05-13Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg
2008-04-25tests/libtest/delay.pl no longer used. The 'delay' attribute of theYang Tse
test harness <command> subsection now provides this functionality.
2008-04-18test 1001 needs a small delay between client part execution and testYang Tse
result file verifications to allow the test server to completely write out all files
2008-04-16Added test case 555, a variation of 547 but using multi interface instead ofDaniel Stenberg
easy. This was reported not working by Penugonda Chenna Reddy in http://curl.haxx.se/mail/lib-2008-04/0046.html but I fail to repeat that problem.
2008-03-31- Added CURLFORM_STREAM as a supported option to curl_formadd() to allow anDaniel Stenberg
application to provide data for a multipart with the read callback. Note that the size needs to be provided with CURLFORM_CONTENTSLENGTH when the stream option is used. This feature is verified by the new test case 554. This feature was sponsored by Xponaut.
2008-02-20- We no longer support setting the CURLOPT_URL option from inside a callbackDaniel Stenberg
such as the CURLOPT_SSL_CTX_FUNCTION one treat that as if it was a Location: following. The patch that introduced this feature was done for 7.11.0, but this code and functionality has been broken since about 7.15.4 (March 2006) with the introduction of non-blocking OpenSSL "connects". It was a hack to begin with and since it doesn't work and hasn't worked correctly for a long time and nobody has even noticed, I consider it a very suitable subject for plain removal. And so it was done.
2008-02-08Added tests 1022 and 1023 to validate output of curl-config --version andDan Fandrich
--vernum
2008-01-21undo using internal *printf() clones for test #530Yang Tse
2008-01-20use internal *printf() clones since snprintf() not available on all platformsYang Tse
2008-01-16Added test 553. This test case and code is based on the bug recipe Joe MalickiDaniel Stenberg
provided for bug report #1871269, fixed on Jan 14 2008 before the 7.18.0 release.
2007-12-26In an attempt to repeat the problem in bug report #1850730Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1850730) I wrote up test case 552. The test is doing a 70K POST with a read callback and an ioctl callback over a proxy requiring Digest auth. The test case code is more or less identical to the test recipe code provided by Spacen Jasset (who submitted the bug report).
2007-12-08add test 549 and 550Daniel Stenberg
2007-12-05added test548 which uses the lib547 source file, preparing for test547 whichDaniel Stenberg
is supposed to repeat the bug report "NTLM proxy authentication with CURLOPT_READDATA seems broken." posted on the curl-library mailing list on dec 3 2007.
2007-11-01Added test case 1013 to check that curl-config --protocols matches theDan Fandrich
protocols listed in curl --version
2007-10-25Allow test server to handle binary POSTs.Patrick Monnerat
Tests 35, 544 545 added: binary data POSTs.
2007-09-30Alex Fishman reported a curl_easy_escape() problem that was made theDaniel Stenberg
function do wrong on all input bytes that are >= 0x80 (decimal 128) due to a signed / unsigned mistake in the code. I fixed it and added test case 543 to verify.
2007-09-26Max Katsev reported that when doing a libcurl FTP request withDaniel Stenberg
CURLOPT_NOBODY enabled but not CURLOPT_HEADER, libcurl wouldn't do TYPE before it does SIZE which makes it less useful. I walked over the code and made it do this properly, and added test case 542 to verify it.
2007-09-11Daniel S (12 September 2007)Daniel Stenberg
- Bug report #1792649 (http://curl.haxx.se/bug/view.cgi?id=1792649) pointed out a problem with doing an empty upload over FTP on a re-used connection. I added test case 541 to reproduce it and to verify the fix. - I noticed while writing test 541 that the FTP code wrongly did a CWD on the second transfer as it didn't store and remember the "" path from the previous transfer so it would instead CWD to the entry path as stored. This worked, but did a superfluous command. Thus, test case 541 now also verifies this fix.
2007-08-13Removed redundant dependency linesDan Fandrich
2007-07-14Added test case 540 and lib540.c, the 'proxyauth.c' test app posted by ShmulikDaniel Stenberg
Regev on the libcurl mailing list on 10 Jul 2007, converted to a test case.
2007-05-14Added SFTP directory listing test case 613.Dan Fandrich
2007-04-30Improved the test harness to allow running test servers on other thanDan Fandrich
the default port numbers, allowing more than one test suite to run simultaneously on the same host.
2007-04-03try not to link with unneeded libs, avoiding global LDADDYang Tse
2007-02-09Include both testutil.c and testutil.h, and not just testutil.c, in theYang Tse
list of source files for those tests that use it. Otherwise testutil.h might not be found by the compiler.
2007-02-09Some tests were using functions curlx_tvnow and curlx_tvdiff which are notYang Tse
part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
2007-01-29the same source file is re-used for multiple tests and I missed to add theDaniel Stenberg
timval.c dependency on some of those
2007-01-29the libtest source codes that use curlx_tv* functions MUST use theDaniel Stenberg
lib/timeval.c source code since those functions are not in the API (and might not be accessible)
2007-01-18Added precheck that curl supports the 'openssl' engine in test 307.Dan Fandrich
2006-11-02update and split test cases 518 and 537 into its own source code fileYang Tse
2006-11-01test 518 is all about testing libcurl functionalityYang Tse
when more than FD_SETSIZE file descriptors are open. This means that if for any reason we are not able to open more than FD_SETSIZE file descriptors then test 518 should not be run. test 537 is all about testing libcurl functionality when the system has nearly exhausted the number of free file descriptors. Test 537 will try to run with very few free file descriptors.
2006-10-21rely on the global LDADD instead of having specific ones for every programDaniel Stenberg
2006-10-21Nir Soffer made the tests/libtest/Makefile.am use a proper variable for allDaniel Stenberg
the single test applications' link and dependences, so that you easier can override those from the command line when using make.
2006-10-09Added test case 536 in an attempt to add Bogdan Nicula's problematic caseDaniel Stenberg
with multi interface and pipelining. This test just works and did not repeat the problem his test code showed, but could still serve as a useful test.
2006-10-06Bogdan Nicula's hanging test case was converted to test case 533 and the testDaniel Stenberg
now runs fine.
2006-10-04Dmitriy Sergeyev provided an example source code that crashed CVS libcurlDaniel Stenberg
but that worked nicely in 7.15.5. I converted it into test case 532 and fixed the problem.
2006-09-28Reported in #1561470 (http://curl.haxx.se/bug/view.cgi?id=1561470), libcurlDaniel Stenberg
would crash if a bad function sequence was used when shutting down after using the multi interface (i.e using easy_cleanup after multi_cleanup) so precautions have been added to make sure it doesn't any more - test case 529 was added to verify.
2006-09-08test 530 is the first ever HTTP pipelining test for libcurlDaniel Stenberg
2006-09-07Major overhaul introducing http pipelining support and shared connectionDaniel Stenberg
cache within the multi handle.