aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2004-11-25FTP improvements:Daniel Stenberg
If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on the same server again even if a following request is made using a persistent connection. If a second request is made to a server, requesting a file from the same directory as the previous request operated on, libcurl will no longer make that long series of CWD commands just to end up on the same spot. Note that this is only for *exactly* the same dir. There is still room for improvements to optimize the CWD-sending when the dirs are only slightly different. Added test 210, 211 and 212 to verify these changes. Had to improve the test script too and added a new primitive to the test file format.
2004-11-23introducing the client/precheck concept to allow test 518 to *only* run whenDaniel Stenberg
it actually can run and test the FD_SETSIZE stuff it is meant to test
2004-11-22David Phillips fix for test 518 and my extension to make it not run onDaniel Stenberg
systems that can't run it fine.
2004-10-25just nicer output when this is seenDaniel Stenberg
2004-09-08Now the test servers and test cases can run on a custom port number. There'sDaniel Stenberg
no fixed port numbers in use anymore. Starting now, the default ports the servers use are 8990 - 8993. There's no option to modify these yet, but changing the $base option in the top of the runtests.pl script.
2004-08-24prevent files named ".nfs[something]" from being displayed when failingDaniel Stenberg
2004-08-23Provide support for "transferring" zero bytes FTP files and comparing thatDaniel Stenberg
the output file actually is zero bytes after the transfer.
2004-07-26Bertrand Demiddelaer made the testing work with valgrind 2.1Daniel Stenberg
2004-06-22retry to read the sent request a few times if it doesn't exist the first timeDaniel Stenberg
2004-06-17new daring features, not used by any current testDaniel Stenberg
2004-06-14refuse running the torture tests without a debug buildDaniel 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-17improved the check for our own ftp serverDaniel 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-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-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-29remove newline from matching patternDaniel Stenberg
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-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-16don't display the . and .. files when dumping the log/ contentsDaniel Stenberg
2004-04-15clean the log directory between each single test, so that we can betterDaniel Stenberg
display all logs and only logs with relevant data when a test fails and -p is used.
2004-04-14display interesting log files on failure, if -p is usedDaniel Stenberg
2004-04-13Initial support for dumping the contents of the files in log/ when failingDaniel Stenberg
when -p is used. For easier bug-hunting of autobuild failures. This still only shows what files that are present in log/, as I believe we need to filter which files we show on a failure.
2004-03-29fix to figure out the "real" windows path when built and run with mingwDaniel Stenberg
Andrés García helped out!
2004-03-01support 'large_file' as a feature to require for specific tests (such asDaniel Stenberg
test 99)
2004-02-26runtests.pl now provides the srcdir to the ftpserver so that it can passDaniel Stenberg
that to loadtest properly.
2004-02-20%HTTPPORT supported in subVariablesDaniel Stenberg
2004-02-20When trying to see if there's a friendly http server on "our" port, weDaniel Stenberg
only accept return code 7 to indicate that there's no server present.
2004-02-12provide a source path to the servers to make them find the tests when runDaniel Stenberg
outside the source dir, not needing any symlinks
2004-01-13use the *correct* header!Daniel Stenberg
2004-01-13added standard source headerDaniel Stenberg
2004-01-12better skip reasons, longer waiting for startup of servers (due to slow/loadedDaniel Stenberg
host), added retrying/waiting for slow stunnel startups
2003-12-17Check the error code AFTER the protocol and data. Only changed to perhapsDaniel Stenberg
get some further input on the notorious test case 91 failures!
2003-11-24disable ftps-tests for now, we must make them work with the updated ftpsDaniel Stenberg
functionality
2003-11-13-n disables valgrind nowDaniel Stenberg
2003-10-31my own system had a bad valgrind, so check that it works at least somewhatDaniel Stenberg
before we use it
2003-10-29Stop using stunnel.pm, we pass in the path from the main script instead.Daniel Stenberg
Also made it easier to stop the test suite with control-c.
2003-10-29stunnel.pm is removedDaniel Stenberg
2003-10-29now check for and use valgrind, inserted and modified the check for stunnelDaniel Stenberg
and we no longer use the stunnel.pm
2003-10-27slightly quieter torture test by defaultDaniel Stenberg
2003-10-24improved the torture testingDaniel Stenberg
2003-10-24Introducing -t to "torture" the memory allocations/failing/bail-outing inDaniel Stenberg
curl and libcurl. -t is not used anywhere automated yet, and it does already identify memory leaks on failed allocations. Work to do.