aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2004-12-14make sure the ipv6 http server gets its pid stored in a separate fileDaniel Stenberg
2004-12-12when failing to verify a HTTP server, display what curl said on stderr toDaniel Stenberg
help debugging. (when using ipv6 I fell over this server that didn't have the ipv6 module loaded)
2004-12-11HTTP IPv6 support added to the test suiteDaniel Stenberg
2004-11-30Fixed the array comparison function even more, made the temporary files usedDaniel Stenberg
for diff output get created in the log/ dir and no longer deletes them since they help in understanding the problem, fixing the test case and fixing curl problems.
2004-11-30no longer use the MIME::Base64.pm package as it seems to not be standardDaniel Stenberg
on lots of perl versions, provide our own base64 decoder
2004-11-29make it possible for a test case to depend on the feature 'libz'Daniel Stenberg
2004-11-29Enable test cases to provide sections base64-encoded to be able to testDaniel Stenberg
with binary data.
2004-11-26last-second-before-commit changes correctedDaniel Stenberg
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