aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2012-06-05tests: adjust file part behavior in test verify section.Yang Tse
When a <file> part is now specified with no contents at all, this will actually verify that the specified file has no contents at all. Previously file contents would be ignored.
2012-06-01tests: support test definitions with up to 5 file checks in <verify> sectionYang Tse
This is done introducing tags <file1> to <file4> besides existing <file> one, as well as corresponding <stripfile1> to <stripfile4> ones, that can be used in the <verify> section in the same way as the non-numbered ones.
2012-04-04runtests: yassl and polarssl are not opensslDaniel Stenberg
Don't set the "has_openssl" variable if yassl or polarssl is found as they will simply not work as 100% drop-in replacements for some of the stuff the "OpenSSL" feature is used for. I spotted this problem when doing test runs with PolarSSL builds.
2012-01-03test proxy supports CONNECTDaniel Stenberg
There's a new 'http-proxy' server for tests that runs on a separate port and lets clients do HTTP CONNECT to other ports on the same host to allow us to test HTTP "tunneling" properly. Test cases now have a <proxy> section in <verify> to check that the proxy protocol part matches correctly. Test case 80, 83, 95, 275, 503 and 1078 have been converted. Test 1316 was added.
2012-01-02runtests.pl: on test failure, don't show trace log files of other testsYang Tse
2012-01-01runtests: put trace outputs in log/trace[num] for all testsDaniel Stenberg
2011-12-31runtests.pl: Use logmsg more consistentlyDan Fandrich
2011-12-30removed trailing whitespaceYang Tse
2011-12-20runtests.pl: Fixed perl warning when using the -l optionDan Fandrich
2011-10-30runtests.pl: running server checks - commit 4464583a follow-upYang Tse
Ensure verification takes place with no server commands file. Ignore verbose setting for running server precheck. Tweak unresponsive server message, to allow detection by haxx.se scripts.
2011-10-28runtests.pl: running server checks - commit 3676ec96 follow-upYang Tse
Fix called sub when checking TFTP server, and adjust message.
2011-10-28runtests.pl: running server checks - commit 4464583a follow-upYang Tse
Extended server checks to others in addition to pingpong when torture testing.
2011-10-25runtests.pl: running server checksYang Tse
When running torture tests, verify before each test case that required pingpong servers which are supposed to be alive are actually responsive. If found not responsive then restart them.
2011-10-21runtests.pl: fix printing of multivalued error codesYang Tse
2011-10-06test harness: non-stunnel https server integration overhaulYang Tse
2011-09-10runtests.pl: replace TAB with spacesYang Tse
2011-09-10test harness: revert needless commit 0a5bbb2ac1Yang Tse
https, ftps and ssh servers allowed start up time back to previous values
2011-09-05test suite: use test case specific netrc file namesYang Tse
2011-09-01test harness: https, ftps and ssh servers allowed start up time increased 33%Yang Tse
2011-08-27NTLM single-sign on adjustments (XI)Yang Tse
Feature string literal NTLM_SSO renamed to NTLM_WB. Preprocessor symbol USE_NTLM_SSO renamed to WINBIND_NTLM_AUTH_ENABLED. curl's 'long' option 'ntlm-sso' renamed to 'ntlm-wb'. Fix some comments to make clear that this is actually a NTLM delegation.
2011-08-21runtests.pl: option -gw for single test windowed debugging (where possible)Yang Tse
2011-08-04runtests.pl: support option=no-includeDaniel Stenberg
2011-07-19runtests: add 'debug' as a feature a test can requireDaniel Stenberg
2011-07-18test2005: verify ntlm single-signonMandy Wu
2011-07-14runtests: ignore the 'all_proxy' environment variable as wellDaniel Stenberg
We should probably also make sure that [protocol]_proxy for all possible protocols libcurl supports are unset.
2011-06-23runtests.pl: warn if a test is explicitly disabledDaniel Stenberg
Just to make sure a user is aware of it.
2011-02-22runtests.pl/stopserver: space separate pidsDaniel Stenberg
The stopserver function would append pids to kill and could append them without separating them with space properly. The result would be a very large number that by (some implementations of) kill would be interpreted as a negative number and that process group would be wiped... Bug: http://curl.haxx.se/bug/view.cgi?id=3188836 Reported by: Greg Pratt
2011-02-20tests: Cleaned up netrc testing.Julien Chaffraix
Removed the "netrc_debug" keyword replaced with --netrc-file additions. Removed the debug code from Curl_parsenetrc as it is superseeded by --netrc-file.
2011-02-10netrc: Enable setting up the filename in unit tests.Julien Chaffraix
Unset the environment variable so that we can specify different filenames in the unit test.
2011-01-20runtests.pl: make -s not show skipped testsDaniel Stenberg
2011-01-19TLS-SRP: support added when using GnuTLSQuinn Slack
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