aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2004-05-17'make test-torture' in the root now runs a full torture testDaniel Stenberg
2004-05-17removed debug output and trailing whitespaceDaniel Stenberg
2004-05-17grrr, fix the check again if no ftp server at all is runningDaniel Stenberg
2004-05-17When waiting for the second connect, we now use alarm to timeout the waiting.Daniel Stenberg
This is necessary in case the client never connects or somehow fails to do it timely. The timeout used now is only 2 seconds, which might cause problems on really slow hosts but longer times are painful when doing torture testing on FTP test cases. I'm not sure how this 'alarm' functionality works on Windows or other systems that don't actually have the alarm() function.
2004-05-17improved the check for our own ftp serverDaniel Stenberg
2004-05-17modified to not leak memory if a libcurl function returns failure, for betterDaniel Stenberg
memory leak detection
2004-05-17make it not leak memory when it returns prematurelyDaniel Stenberg
2004-05-14clean up properly on failure to enable easier libcurl leak detectionDaniel Stenberg
2004-05-14enable memory debugging the same way the curl command line tool already doesDaniel Stenberg
2004-05-13made 'runtests.pl -t' run over all the tests just like other command linesDaniel Stenberg
Also made -t imply -n to disable valgrind, it runs sloooow otherwise. This now manages to run all tests OK up to test case 100 (the first FTP one) for me.
2004-05-11revert the accidentally added use of straceDaniel Stenberg
2004-05-11curl_global_init_mem() allows the memory functions to be replaced.Daniel Stenberg
memory.h is included everywhere for this.
2004-05-10James Bursa's adjustments to make the -t option work for any test case.Daniel Stenberg
The -t is the "torture" test that first runs the test and counts the number of allocations performed during it, then it runs the test repeatedly over and over again and makes alloc number N fail to verify that we detect and return properly from error cases everywhere.
2004-05-10don't use -i when checking for our own serverDaniel Stenberg
2004-05-07James Bursa's fix to make this deal with malloc(0) as OK to free()Daniel Stenberg
2004-05-06simplied the creation of new urlsDaniel Stenberg
2004-05-06%ld for longDaniel Stenberg
2004-05-06int/long fixDaniel Stenberg
2004-05-06printf %s with plain 'char *', not unsigned ones to silence icc's pickyDaniel Stenberg
warnings
2004-05-05fixed typoDaniel Stenberg
2004-05-05Temporary disable the logic that runs gdb on a core dump, as it can't blindlyDaniel Stenberg
assume that the curl file is a proper binary, it is often a script file produced by libtool.
2004-05-05added a third URL to the torture testing, this one also hangs at some pointDaniel Stenberg
for a reason I don't know
2004-05-04General HTTP authentication cleanup and fixesDaniel Stenberg
2004-05-03improved the name of the testDaniel Stenberg
2004-04-30Display "exit OK" when the exit code has been verified to be OK, and addedDaniel Stenberg
initial basic valgrind-log scan for memory leaks it could detect.
2004-04-30support the new libcurl IDN feature, also a first attempt to display a stackDaniel Stenberg
trace if a test results in a 'core' file and gdb is present
2004-04-30idn is a new feature that can be made required for a testDaniel Stenberg
2004-04-30added test 166, formpost with white space in file nameDaniel Stenberg
2004-04-30include the full size of the sent response in the logDaniel Stenberg
2004-04-29Gisle fixed the counting of calloc()sDaniel Stenberg
2004-04-29Introducing IDN host name testing. Test case 165 requires an IDN-capableDaniel Stenberg
libcurl.
2004-04-29remove newline from matching patternDaniel Stenberg
2004-04-29ignore cnonce lines too as they are based on the current time and will differDaniel Stenberg
from time to time!
2004-04-29test 512 does some basic curl_easy_duphandle() testingDaniel Stenberg
2004-04-29new test case for a simple curl_easy_duphandle() testDaniel Stenberg
2004-04-29updated to work with the new Digest codeDaniel Stenberg
2004-04-27make the loop use a fixed number of attempts to prevent eternal loopsDaniel Stenberg
2004-04-26Removed the FTPS test cases, they only annoy us as they don't work for anyoneDaniel Stenberg
anywhere. We need to write a better ftps-server for test purposes and then we can re-introduced FTPS tests.
2004-04-24test164 HTTP range with multiple rangesDaniel Stenberg
2004-04-23minor format fixDaniel Stenberg
2004-04-23added test 163 - a simple test case that use -F field<file, to verify thatDaniel Stenberg
we can pass on "odd" characters (newline, CR, tab) like this.
2004-04-23No longer uses the valgrind option '--logfile-fd', we use the --logfileDaniel Stenberg
option instead (even though it appends the pid to the file name, making it harder to figure out its name to parse it after a test has run). Also made sure we only use valgrind for the actual test command command lines, not when for example running curl to detect if there are any already running servers are present etc.
2004-04-23require SSL as otherwise NTLM doesn't work!Daniel Stenberg
2004-04-22- David Byron found and fixed a small bug with the --fail and authenticationDaniel Stenberg
stuff added a few weeks ago. Turns out that if you specify --proxy-ntlm and communicate with a proxy that requires basic authentication, the proxy properly returns a 407, but the failure detection code doesn't realize it should give up, so curl returns with exit code 0. Test case 162 verifies this.
2004-04-22If only a partial file was transfered, we consider that a fatal problem soDaniel Stenberg
we won't try to QUIT the control connection and risk "hanging" waiting for a response. Test case 161 verifies this. The quit-sending function was also made static.
2004-04-22modified how valgrind is run to make sure that file handle 3 exists whenDaniel Stenberg
we tell valgrind to use that to send the logfile to
2004-04-21log the WAIT commandDaniel Stenberg
2004-04-20test160 - for a more controlled testing of the case where libcurl startsDaniel Stenberg
to re-use a connection that is closed when re-used and libcurl should then make a new fresh connection and use instead
2004-04-20make the first response get a "connection: close" header as that is howDaniel Stenberg
most 1.1 connections will be closed. The case where it gets closed anyway is subject for a new separate test.
2004-04-19changed the logging to work when the logfile is removed during testingDaniel Stenberg