aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2011-01-03unittests: a dedicated feature in testsDaniel Stenberg
The test runner script now knows if unittests can run and the unit test setup file says it is one. I also made runtests.pl deal with no <command> tag set, so that the description file can get even simpler.
2011-01-03unittest: framework for unit-testingDaniel Stenberg
This is the first approach at doing fairly clean and easy to write and debug unit tests.
2010-12-28test harness: take in account that Windows does not support LD_PRELOADYang Tse
configure.ac: Test harness libhostname library will not be built for Windows. runtests.pl: LD_PRELOAD mechanism will not be used to load libhostname library on operating systems which lack LD_PRELOAD support.
2010-12-16axTLS integration: silence runtests.pl perl warningYang Tse
2010-12-15Minor fixes to pass tests 301 and 306 with a patched axTLS.Eric Hu
2010-12-15Initial axTLS integration. Connections can be made and some tests pass.Eric Hu
Failed HTTPS tests: 301, 306, 311, 312, 313, 560 311, 312 need more detailed error reporting from axTLS. 313 relates to CRL, which hasn't been implemented yet.
2010-11-03runtests: allow tests written as perl scriptsDaniel Stenberg
If a command is set type="perl", it can now specify a perl program that will be run instead of an ordinary curl or built tool. A perl test automatically disables memory and valgrind debugging.
2010-08-25runtests: fix uninitialized variable warningDaniel Stenberg
2010-08-25gopher tests: use sws and adjusted to more standard styleDaniel Stenberg
2010-08-25Gopher using Curl_write; test suite (4 tests)Cameron Kaiser
2010-08-16Clear stdout and stderr files on each test runDan Fandrich
This allows a test to be run several times in the same test session even when the -k option is given.
2010-08-13Reset environment variables before starting serversDan Fandrich
Otherwise, variables from tests could affect the servers themselves.
2010-08-11runtests: clear old setenv remainders before testDaniel Stenberg
Due to the layout of the singletest function there are situations where it returns before it clears the environment variables that were especially set for the single specific test case. That could lead to subsequent tests getting executed with environment variables sticking around from a previous test which could lead to badness. This change makes sure to clear all custom variables that may be laying around from a previous round, before running a test case. Reported by: Kamil Dudka Bug: http://curl.haxx.se/mail/lib-2010-08/0141.html
2010-08-07build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador
2010-07-30NTLM tests: boost coverage by forcing the hostnameKamil Dudka
A shared library tests/libtest/.libs/lihostname.so is preloaded in NTLM test-cases to override the system implementation of gethostname(). It makes it possible to test the NTLM authentication for exact match, and this way test the implementation of MD4 and DES. If LD_PRELOAD doesn't work, a debug build willl also workk as debug builds are now made to prefer a specific environment variable and will then return that content as host name instead of the actual one. Kamil wrote the bulk of this, Daniel Stenberg polished it.
2010-05-05PolarSSL: initial support addedHoi-Ho Chan
This is Hoi-Ho Chan's patch with some minor fixes by me. There are some potential issues in this, but none worse than we can sort out on the list and over time.
2010-04-19Implement SMTP authenticationmonnerat
2010-03-24restore executable bits on some filesDaniel Stenberg
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-16replaced tabs with spacesYang Tse
2010-02-14removed trailing whitespaceYang Tse
2010-02-06warning fixYang Tse
2010-02-01Test suite support for RTSPYang Tse
2010-01-21fix warning triggered when debugging on cygwinYang Tse
2010-01-21improve displaylogcontent() sub fixing a warningYang Tse
2010-01-20SIGTERM is the signal to trap here, SIGKILL can't be caught.Yang Tse
2010-01-20Use delete() to unset environment variables instead of assigning undef whichYang Tse
generates warning 'Use of uninitialized value in scalar assignment' with perl versions older than 5.10
2010-01-20Adjust valgrind logs file name detection.Yang Tse
Adjust environment vars setting and restoring from test definition. Avoid using strftime in torture sub.
2010-01-19avoid "Use of uninitialized value $l in concatenation"Daniel Stenberg
2010-01-19Fail harder when curl coredumps trying to verify http and ftp servers.Yang Tse
Add some debug messages to see what's going on with valgrind logs.
2010-01-19prevent %runcert hash growth when clearing itemsYang Tse
2010-01-18fix warningsYang Tse
2010-01-18Stop ssl running server when cert file currently used by server isYang Tse
different than the one specified in test definition for same server
2010-01-18fix warningsYang Tse
2010-01-18- Remove QD restarting of https servers. Proper fixing required.Yang Tse
This will make tests 310 311 and 312 fail while fixing. - Remove some debug messages
2010-01-18make verifyhttp use different file names depending on server characteristicsYang Tse
2010-01-17fix warningsYang Tse
2010-01-17fix warningsYang Tse
2010-01-17fix warningsYang Tse
2010-01-17add some debug messagesYang Tse
2010-01-17use servername_id() from serverhelp.pmYang Tse
2010-01-17refactored stopping of test harness serversYang Tse
2010-01-15Declaration of $sshdlog is done in sshhelp.pmYang Tse
2010-01-15Start using the centralized pidfile and logfile name generationYang Tse
subroutines for ssh and socks test suite servers.
2010-01-14Squeeze slack time when killing more than one server fromYang Tse
the <killserver> section of test harness definition files.
2010-01-12Make runtests.pl actually support any (valid) server specificationYang Tse
for the <killserver> section of test harness definition files.
2010-01-12Adjust vor VPATH buildsYang Tse
2010-01-11- The tests/runtests.pl script now checks to see if the test case that runs isDaniel Stenberg
present in the tests/data/Makefile.am and outputs a notice message on the screen if not. Each test file has to be included in that Makefile.am to get included in release archives and forgetting to add files there is a common mistake. This is an attempt to make it harder to forget.
2010-01-11secureserver.pl is now the test harness script used for SSL/TLS.Yang Tse
Start using the centralized pidfile and logfile name generation subroutines for https and ftps test suite servers.
2010-01-10Previous commit adjustmentsYang Tse