aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
2007-07-23Implemented only the parts of Patrick Monnerat's OS/400 patch that renamedDan Fandrich
some few internal identifiers to avoid conflicts, which could be useful on other platforms.
2007-07-17Fixed test cases 613 and 614 by improving the log postprocessor to handleDan Fandrich
a new directory listing format that newer libssh2's can provide. This is probably NOT sufficient to handle all directory listing formats that server's can provide and should be revisited.
2007-07-15convert test case 540 to use a custom Host: header as wellDaniel Stenberg
2007-07-15let's just export the whole argc + argv pair globally so that each test toolDaniel Stenberg
can take advantage of it however they see fit!
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-07-14add support for arg3 as the third argument...Daniel Stenberg
2007-05-16Match file times occurring in the morning.Dan Fandrich
2007-05-14Added SFTP directory listing test case 613.Dan Fandrich
2007-05-02Check the return code from curl_multi_add_handle()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-23Added tests 610-612 to test more SFTP post-quote commands.Dan Fandrich
2007-04-05unify fopen() failure error message among tests, allowingYang Tse
the testsuite to count them as errors of the same kind
2007-04-04add debug message and expand commentYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
three additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-04cleanupYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
SAFETY_MARGIN additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-03Verify if the test is limited by an ancient stdio with a 256Yang Tse
open file limit. In this case the test is skipped with a message showing this limitation when the number of open files needed for the test is greater than 256.
2007-04-03try not to link with unneeded libs, avoiding global LDADDYang Tse
2007-03-16openssl/bio.h doesn't exist when we build with yassl so avoid tryingDaniel Stenberg
2007-03-10change max allowed time for this test to complete to 90 secondsYang Tse
2007-03-0330 seconds isn't long enough for this test on a loaded server.Yang Tse
2007-02-22Check for stdbool.h at configuration stage, and include it if available.Yang Tse
Check for lowercase 'bool' type at configuration stage. If not available provide a suitable replacement with a type definition of 'unsigned char' in setup_once.h Move definitions of TRUE and FALSE to setup_once.h
2007-02-20Move header file inclusion logic and definition of timevalYang Tse
struct for platforms that don't have it to setup_once.h
2007-02-20add tutil_tvdiff_secs() for completenessYang Tse
2007-02-19log a message, stating the need of openssl to run this testYang Tse
2007-02-17Replicate the configure tests that determined that timeval was available.Yang Tse
2007-02-16add debug messages for fopen() failuresYang Tse
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang 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-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-02-04Constify argument to suburl(). Remove trailing space.Gisle Vanem
2007-01-31when using select() instead of poll, skip the test if the number ofYang Tse
open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN, also skip the test if any of the open file descriptors has a number greater than FD_SETSIZE minus SAFETY_MARGIN.
2007-01-30fix temp string buffer variable nameYang Tse
2007-01-30skip test on platforms on which we use select() insteadYang Tse
of poll() and select() happens to be bound by FD_SETSIZE
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-29Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.Gisle Vanem
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-28Compiler warning fixYang Tse
2007-01-18Added precheck that curl supports the 'openssl' engine in test 307.Dan Fandrich
2006-11-03add a couple more of debugging messagesYang Tse
2006-11-03reduce max size of dinamically allocated arrays to minimize the nastyYang Tse
behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer
2006-11-03fix comments and renumber rlimit return codesYang Tse
fix closing of fd's when limit is reached
2006-11-03fix comments and renumber rlimit return codesYang Tse
2006-11-02remove leftover commentYang Tse
2006-11-02update and split test cases 518 and 537 into its own source code fileYang Tse
2006-11-02code cleanupYang Tse
2006-11-02use our internal string functions and replace sprintf with snprintfYang Tse
2006-11-02check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.hYang 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.