aboutsummaryrefslogtreecommitdiff
path: root/tests/runtests.pl
AgeCommit message (Collapse)Author
2013-12-28runtests.pl: Fixed slightly incorrect regex in commit 28dd47d4d41900Steve Holme
2013-12-28runtests.pl: Optimised feature present checking codeSteve Holme
...to exclude not present features.
2013-12-28runtests.pl: Added the ability to run tests when a feature is not presentSteve Holme
2013-12-27ftpserver.pl: Reworked SMTP verified server detectionSteve Holme
Following the addition of informational commands to the SMTP protocol, the test server is no longer required to return the verified server information in responses that curl only outputs in verbose mode. Instead, a similar detection mechanism to that used by FTP, IMAP and POP3 can now be used.
2013-11-12runtests.pl: Added SSPI detectionSteve Holme
2013-09-18runtests.pl: Fixed syntax error in commit c873375123343eSteve Holme
Possible unintended interpolation in string at line 796
2013-09-18runtests.pl: Fixed smtp mail from addressSteve Holme
Following changes to ftpserver.pl fixed the mail from address to be a correctly formatted address otherwise the server response will be 501 Invalid address.
2013-08-26runtests.pl: allow -vc point to a separate curl binary to verify withDaniel Stenberg
The specified curl binary will then be used to verify the running server(s) instead of the development version. This is very useful in some cases when the development version fails to verify correctly as then the test case may not run at all. The actual test will still be run with the "normal" curl executable (unless the test case specifies something differently).
2013-08-20curl_easy_perform_ev: debug/test functionDaniel Stenberg
This function is meant to work *exactly* as curl_easy_perform() but will use the event-based libcurl API internally instead of curl_multi_perform(). To avoid relying on an actual event-based library and to not use non-portable functions (like epoll or similar), there's a rather inefficient emulation layer implemented on top of Curl_poll() instead. There's currently some convenience logging done in curl_easy_perform_ev which helps when tracking down problems. They may be suitable to remove or change once things seem to be fine enough. curl has a new --test-event option when built with debug enabled that then uses curl_easy_perform_ev() instead of curl_easy_perform(). If built without debug, using --test-event will only output a warning message. NOTE: curl_easy_perform_ev() is not part if the public API on purpose. It is only present in debug builds of libcurl and MUST NOT be considered stable even then. Use it for libcurl-testing purposes only. runtests.pl now features an -e command line option that makes it use --test-event for all curl command line tests. The man page is updated.
2013-05-07runtests.pl: support nonewline="yes" in client/stdin sectionsDaniel Stenberg
2013-04-25runtests: log more commands in verbose modeDaniel Stenberg
... to aid tracking down failures
2013-04-06runtests.pl: Fixed --verbose parameter passed to http_pipe.pyMarc Hoersken
2013-04-06runtests.pl: Modularization of MinGW/Msys compatibility functionsMarc Hoersken
2013-03-15tests: add #96 #558 and #1330Yang Tse
These verfy that the 'memory tracking' subsystem is actually doing its job when using curl tool (#96), a test in libtest (#558) and also a unit test (#1330), in order to prevent regressions in this functionallity.
2013-03-13Multiple pipelines and limiting the number of connections.Linus Nielsen Feltzing
Introducing a number of options to the multi interface that allows for multiple pipelines to the same host, in order to optimize the balance between the penalty for opening new connections and the potential pipelining latency. Two new options for limiting the number of connections: CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections to the same host. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished, so we can reuse the connection. CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished. The free connection will then be reused, if possible, or closed if the pending handle can't reuse it. Several new options for pipelining: CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a pipeline is "full" when a connection is to be reused, a new connection will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it. If not, the handle will be put in a pending state until a connection is ready (either free or a pipe got shorter). CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a transfer with a content length that is larger than this. CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a chunk larger than this. CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow pipelining. CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow pipelining. See the curl_multi_setopt() man page for details.
2013-02-24darwinssl: fix undefined $ssllib warning in runtests.plNick Zitzmann
I also added --with-darwinssl to the list of SSL options in configure.
2013-01-18runtests.pl: make VPATH builds find valgrind.suppYang Tse
2013-01-17always-multi: always use non-blocking internalsDaniel Stenberg
Remove internal separated behavior of the easy vs multi intercace. curl_easy_perform() is now using the multi interface itself. Several minor multi interface quirks and bugs have been fixed in the process. Much help with debugging this has been provided by: Yang Tse
2013-01-02build and tests: curl_10char_object_name() shell functionYang Tse
lib/objnames.inc provides definition of curl_10char_object_name() shell function. The intended purpose of this function is to transliterate a (*.c) source file name that may be longer than 10 characters, or not, into a string with at most 10 characters which may be used as an OS/400 object name. Test case 1221 does unit testng of this function and also verifies that it is possible to generate distinct short object names for all curl and libcurl *.c source file names. lib/objnames-test.sh is the shell script used for test case 1221. tests/runtests.pl modified to accept shell script test cases. More details inside lib/objnames.inc and lib/objnames-test.sh
2012-12-22runtests.pl: prepend $srcdir to HTTPTLS server config files pathYang Tse
2012-12-06runtests and friends: Do not add undefined values to @INCFabian Keil
On FreeBSD this fixes the warning: Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
2012-11-23test: offer "automake" output and check for perl betterDaniel Stenberg
runtests.pl -am now uses the "PASS/FAIL: [desc]" output for each executed test. You can run 'make test-am' in the root build directory to invoke that. The reason for this output style is to better allow generic test suite parsers to also grok our test output. The test Makefile now also tests that perl was indeed found and that the PERL variable points to an executable before it tries to run the main test perl script runtests.pl,
2012-11-12runtests: limit execessive logging/outputDaniel Stenberg
2012-08-02Remove the --fork option of sws, since it makes refactoring to use poll more ↵Joe Mason
complicated and should be redundant once we poll
2012-07-20Fixed MSYS <-> Windows path convertion.Guenter Knauf
Replaced the Windows real path from mount hack with a more reliable and simpler hack: the MSYS shell has a builtin pwd which understands a -W option which does convertion to Windows paths. Tested and confirmed that this works on all MSYS versions I have back to a 3 year old one.
2012-07-19Follow-up fix to detect SSL libs with MinGW.Guenter Knauf
1) the check for winssl needs to come before nss check 2) the SSL checks must begin with a new if or else we will never find any SSL lib with MinGW.
2012-07-17Trial to teach runtests.pl about WinSSL.Guenter Knauf
2012-07-17Fixed warning 'uninitialized value in numeric gt'.Guenter Knauf
This is a MSYS/MinGW-only warning; full warning text is: Use of uninitialized value in numeric gt (>) at ../../curl/tests/runtests.pl line 2227.
2012-06-20runtests.pl: make it support metalink featureTatsuhiro Tsujikawa
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