aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-08-10parse_remote_port: fix ;type= URL suffix over HTTP proxyDaniel Stenberg
Test 563 is enabled now and verifies that the combo FTP type=A URL, CURLOPT_PORT set and proxy work fine. As a bonus I managed to remove the somewhat odd FTP check in parse_remote_port() and instead converted it to a better and more generic 'slash_removed' struct field. Checking the ->protocol field isn't right since when an FTP:// URL is sent over a HTTP proxy, the protocol is HTTP but the URL was handled by the FTP code and thus slash_removed is set TRUE for this case.
2010-08-09build: don't build libhostname unless shared libcurl is builtYang Tse
2010-08-09build: libhostname and chkhostname linkage adjustments followupYang Tse
2010-08-08build: libhostname linkage adjustments followupYang Tse
2010-08-07build: chkhostname build adjustments followupYang Tse
2010-08-07build: allow NTLM tests to run on more build configurationsU-D5B1PQ1J\Administrador
2010-08-06build: ensure that libhostname doesn't get installedYang Tse
2010-08-04build: remove unused fileYang Tse
2010-08-02sethostname: provide local prototype for gethostnameDaniel Stenberg
This is only to avoid warnings on some systems.
2010-07-30sethostname: avoid including unistd.h to duck for warningsDaniel Stenberg
2010-07-30sethostname: ISO C does not allow extra `;' outside of a functionDaniel Stenberg
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-06-17test575: do not fail with threaded DNS resolverKamil Dudka
2010-05-31fix compiler warning: external declaration in primary source fileYang Tse
2010-05-31fix compiler warning: variable was set but never usedYang Tse
2010-05-29CURL_LLONG_MAX: avoid constant overflowKamil Dudka
... when (CURL_SIZEOF_CURL_OFF_T == 4)
2010-05-28test1115: verify that unexpected 1xx responses work fineDaniel Stenberg
2010-05-28lib577: avoid redefinition of ERRORKamil Dudka
2010-05-27test313: a new test for CRL supportKamil Dudka
2010-05-27tests/certs: re-generated because of lost pass-phraseKamil Dudka
2010-05-27tests/certs/scripts: generate also CRLKamil Dudka
... and make it possible to do so without any user interaction
2010-05-27lib573: do not compare double for exact matchTor Arntsen
2010-05-20Test 573: Use correct type for CURLINFO_CONNECT_TIMETor Arntsen
curl_easy_getinfo() called with a pointer to long instead of double would sigbus on RISC processors (e.g. MIPS) due to wrong alignment of pointer address.
2010-05-16ftp wildcard: a new option CURLOPT_FNMATCH_DATAKamil Dudka
2010-05-14Fixed test 577 to work when --enable-hidden-symbols is configuredDan Fandrich
2010-05-14Added directories.pm to the source tar ballDan Fandrich
2010-05-12FTP: WILDCARDMATCH/CHUNKING/FNMATCH addedPavel Raiskup
2010-05-07multi interface: missed storing connection timeDaniel Stenberg
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
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-28test: enable valgrind for 604, seems to workDaniel Stenberg
2010-04-28add 1s post-command delay to tests 513 and 514Paul Howarth
addressing http://curl.haxx.se/mail/lib-2009-12/0031.html
2010-04-24test536: do not fail with threaded DNS resolverKamil Dudka
Also tweaked comments in certain examples using curl_multi_fdset().
2010-04-19Implement SMTP authenticationmonnerat
2010-04-15Eliminated an unlikely race condition in some tests.Dan Fandrich
Based on a patch from the FreeBSD ports by Peter Pentchev.
2010-04-14ignore files generated by 'maketgz'Daniel Stenberg
2010-04-13Use correct directory for c-ares git pullGuenter Knauf
Signed-off-by: Tor Arntsen <tor@spacetec.no>
2010-04-13added last git commit output for c-ares too.Guenter Knauf
2010-04-13changed the git update block to take care of c-ares repo if detected.Guenter Knauf
2010-04-12updated timestamp of the script.Guenter Knauf
2010-04-12removed obsolete var in gitpull() functionGuenter Knauf
no need to create a var - lets just return the status var itself.
2010-04-10mention missing test servers for <server>Daniel Stenberg
2010-04-09FTP quote commands prefixed with '*' now can fail without abortingDaniel Stenberg
Prefixing the FTP quote commands with an asterisk really only worked for the postquote actions. This is now fixed and test case 227 has been extended to verify.
2010-03-31Fixed misleading test messageDan Fandrich
2010-03-30Call curl_global_cleanup() in test 560 to avoid a memory leakDan Fandrich
2010-03-30Allow test 538 to run even when proxy support is disabledDan Fandrich
2010-03-28Allow running ./tests/testcurl.pl from within git repo.Ben Greear
My first instinct was to run the test script within the checked out repository. This small change to the script allows that to work as expected. Signed-off-by: Ben Greear <greearb@candelatech.com>
2010-03-27ignore pid files and stunnel.confDaniel Stenberg
all used while running tests
2010-03-27make sure git pull is actually done!Daniel Stenberg
2010-03-25remove all .cvsignore filesDaniel Stenberg
2010-03-25Avoid double newline for the 'last commits' log in testcurl.plTor Arntsen
The backtick command which extracts 'git log' lines come with a newline, so chomp the newline before calling logit(), as the logit function adds a newline by itself.