aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2007-03-0330 seconds isn't long enough for this test on a loaded server.Yang Tse
2007-03-03stricter newline policyYang Tse
2007-03-01Reduce the posibility of leaving the sockfilter hanging around whenYang Tse
tearing down the test ftp server due to a read error condition.
2007-02-27log a 1120 chars long string to aid in quoted-printable and softYang Tse
line break detection in daily build logs.
2007-02-225 seconds isn't always enough time to start a server on a loaded system.Dan Fandrich
2007-02-22remove redundant check in timestamp detectionYang 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-21- Ravi Pratap provided work on libcurl making pipelining more robust andDaniel Stenberg
fixing some bugs: o Don't mix GET and POST requests in a pipeline o Fix the order in which requests are dispatched from the pipeline o Fixed several curl bugs with pipelining when the server is returning chunked encoding: * Added states to chunked parsing for final CRLF * Rewind buffer after parsing chunk with data remaining * Moved chunked header initializing to a spot just before receiving headers
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-20Several corrections & changes to what has been stated in revision 1.45Yang Tse
1) The maketgz script does not insert the timestamp in curlver.h, it actually updates it. For CVS versions it is the "CVS" string. 2) testcurl.pl will always print the "date" string which represents the moment the test build is run. 3) testcurl.pl may not print the "timestamp" string since the script may end before it is printed out. (i.e. unable to update from CVS) 4) The "timestamp" string printed will be the same as the "date" one unless one of the following conditions is met. *) It is a tarball-based build. Timestamp will be creation time. *) CVS update has been done. Timestamp will be end of CVS update.
2007-02-20add tutil_tvdiff_secs() for completenessYang Tse
2007-02-19fix typoYang Tse
2007-02-19Show libcurl's timestamp. This timestamp is only available in curlver.hYang Tse
for tarball-based tests and builds, the maketgz script inserts it when the tarball is created. For CVS-based tests and builds the timestamp we show is the current UTC build time as it is the CVS version timestamp. In this way, all builds will have a valid source code timestamp which isn't related to the moment the tests and build is performed, with the exception of CVS-based ones which have the same "date" and "timestamp"
2007-02-19log a message, stating the need of openssl to run this testYang Tse
2007-02-19Oops missing varYang Tse
2007-02-19add debug messages for initialization failuresYang Tse
2007-02-17Move portable error number symbolic name definitions to setup_once.hYang Tse
2007-02-17Replicate the configure tests that determined that timeval was available.Yang Tse
2007-02-17getpart implicitly drags in some networking functions, so it needs to beDan Fandrich
linked to the networking libraries.
2007-02-17Better separate the library dependencies into those required by libcurlDan Fandrich
and those required by other components to avoid forcing unneeded dependencies into the target objects.
2007-02-17Remove C99ismsDan Fandrich
2007-02-16add debug messages for fopen() failuresYang 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-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
2007-02-14compiler warning fixYang Tse
2007-02-14enhance HTTP server request input writing,Yang Tse
retrying upon EINTR errors.
2007-02-13ftp@example.com is now the new anonymous FTP password. I opted for 'ftp' onDaniel Stenberg
the left side of @ to make it short(er).
2007-02-12Rob Crittenden added support for NSS (Network Security Service) for theDaniel Stenberg
SSL/TLS layer. http://www.mozilla.org/projects/security/pki/nss/
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-05Year 2038 has its own problems (32 bit integer overflow).Yang Tse
So cookie expiration date is lowered to expire at most in 2035.
2007-02-04Constify argument to suburl(). Remove trailing space.Gisle Vanem
2007-02-02compiler warning fixYang Tse
2007-02-02fix leftover updating cookie expiration dateYang Tse
2007-02-02reported in bug: #1566077 the former URL mentioned in the generated cookieYang Tse
jar has died and we now instead point out our own version of that
2007-02-02fix test case 62 which was failing due to cookies expiring 1 Feb 2007Yang Tse
2007-02-02more fixes for the testsuite cookie expiration issueYang Tse
2007-02-02cookie expiration time got us with pants at our knees.Yang Tse
Next time in 2038 :-)
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-29- Michael Wallner reported that when doing a CONNECT with a custom User-AgentDaniel Stenberg
header, you got _two_ User-Agent headers in the CONNECT request...! Added test case 287 to verify the fix.
2007-01-28Compiler warning fixYang Tse
2007-01-27update copyright year noticeYang Tse
2007-01-25set proper lib extension for non-configure mingw32 builds on Win32.Gunter Knauf