aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2008-10-30Use our Curl_addrinfo definition even when an addrinfo struct is available.Yang Tse
Use a wrapper function to call system's getaddrinfo().
2008-10-30SLOWDOWN actually causes a 0.01 second delay between bytesDan Fandrich
2008-10-28Changed the "resolve" test precheck program to verify that an IPv6 socketDan Fandrich
can be created before resolving the IPv6 name. In the context of running a test, it doesn't make sense to run an IPv6 test when a host is resolvable but IPv6 isn't usable. This should fix failures of test 1085 on hosts with library and DNS support for IPv6 but where actual use of IPv6 has been administratively disabled.
2008-10-28fix test # 558 and 559 CFLAGSYang Tse
2008-10-27don't skip tests 558 and 559 on i686 icc autobuildsYang Tse
2008-10-27test #558 tests internal hash create/destroyYang Tse
test #559 tests internal hash create/add/destroy
2008-10-27Skip test #558 when libcurl is built with hidden symbolsYang Tse
2008-10-27For tracing purposes log a fake call to getaddrinfoYang Tse
when allocating/building the fake Curl_addrinfo.
2008-10-27avoid using Curl_ip2addr(), simply build up a fake Curl_addrinfoYang Tse
2008-10-26convert test #558 into something more interesting, attemptingYang Tse
now to minimally exercise some internal hash routines.
2008-10-26test #558 verifies loop operation using malloc() and free()Yang Tse
2008-10-23moved some definitions from tftp.h to tftpd.cYang Tse
2008-10-23fix compiler warningYang Tse
2008-10-23Tweaked a few tests to test proper Turkish locale handlingDan Fandrich
2008-10-22For i686 icc autobuilds:Yang Tse
Re-enable all tests for debug-enabled builds. For debug-disabled builds only 8 tests are enabled.
2008-10-21Fixed some problems with SFTP range support to fix test cases 634 through 637.Dan Fandrich
2008-10-16Added missing HTTP proxy and other keywordsDan Fandrich
2008-10-15A <precheck> command is considered to have failed if it returns a non-zeroDan Fandrich
return code. This way, if the precheck command can't be run at all for whatever reason, it's treated as a precheck failure which causes the test to be skipped.
2008-10-14attempt to fix compiler warning:Yang Tse
`variable' might be clobbered by `longjmp' or `vfork'
2008-10-13Don't rely on shell support to run multiple precheck testsDan Fandrich
2008-10-12Ensure the IPv6 stack is operational before running this test (other testsDan Fandrich
use the startup of the IPv6 test server as a substitute check for this).
2008-10-09Added HTTP as a required featureDan Fandrich
2008-10-09Added tests 633 through 637 to test the new file range support for SFTP.Dan Fandrich
All but the first test cause an infinite loop or other failure and so are added to DISABLED.
2008-10-08- Bug #2152270 (http://curl.haxx.se/bug/view.cgi?id=2152270) identified andDaniel Stenberg
fixed a CURLINFO_REDIRECT_URL memory leak and an additional wrong-doing: Any subsequent transfer with a redirect leaks memory, eventually crashing the process potentially. Any subsequent transfer WITHOUT a redirect causes the most recent redirect that DID occur on some previous transfer to still be reported.
2008-10-08Added tests 1082 through 1085 to test symbolic --interface parametersDan Fandrich
2008-10-08Created test cases 1080 and 1081 to reproduce a problem ofDan Fandrich
CURLINFO_REDIRECT_URL leaking memory and returning incorrect results when two URLs are requested. Reported by vmpdemo in bug #2152270
2008-10-08Added const to some pointer variablesDan Fandrich
2008-10-07Changed the handling of read/write errors in Curl_perform() to allow aDan Fandrich
a fresh connection to be made in such cases and the request retransmitted. This should fix test case 160. Added test case 1079 in an attempt to test a similar connection dropping scenario, but as a race condition, it's hard to test reliably.
2008-10-07Document how to disable tests when certain --disable-* flags are used.Dan Fandrich
2008-10-03revert change introduced in tftpd.c revision 1.44Yang Tse
2008-10-02fix compiler warning: dereferencing type-punned pointer will break ↵Yang Tse
strict-aliasing rules
2008-10-02fix compiler warning: `variable' might be clobbered by `longjmp' or `vfork'Yang Tse
2008-10-02runtests.pl enables picky compiler warnings unless explicitly disabledYang Tse
2008-10-01Fixed some compiler warnings with gccDan Fandrich
2008-09-30Added "HTTP proxy" keywordDan Fandrich
2008-09-30- The libcurl FTP code now returns CURLE_REMOTE_FILE_NOT_FOUND error when SIZEDaniel Stenberg
gets a 550 response back for the cases where a download (or NOBODY) is wanted. It still allows a 550 as response if the SIZE is used as part of an upload process (like if resuming an upload is requested and the file isn't there before the upload). I also modified the FTP test server and a few test cases accordingly to match this modified behavior.
2008-09-29Added "HTTP proxy" and "proxytunnel" keywords where applicableDan Fandrich
2008-09-26if a test execution is aborted due to a signal, and the processYang Tse
returns no other exitcode, use 2000 + signal number as return code
2008-09-26use shift right. Division result is not integral.Yang Tse
2008-09-26Avoid the use of the '? :' operator inside the call to ourYang Tse
test-server logging function. It doesn't work on some systems.
2008-09-26attempt to avoid HTTP server startup misdetection on some systemsYang Tse
2008-09-26fix potential buffer overflow in test-server logging functionYang Tse
2008-09-24Re-enable test #100 on i686 icc autobuildsYang Tse
2008-09-23remove the entire comment now when we no longer set TZDaniel Stenberg
2008-09-23- Introducing Jamie Lokier's function for date to epoch conversion used in theDaniel Stenberg
date parser function. This makes our function less dependent on system- provided functions and instead we do all the magic ourselves. We also no longer depend on the TZ environment variable.
2008-09-22- Made the SOCKS code use the new Curl_read_plain() function to fix the bugDaniel Stenberg
Markus Moeller reported: http://curl.haxx.se/mail/archive-2008-09/0016.html - recv() errors other than those equal to EAGAIN now cause proper CURLE_RECV_ERROR to get returned. This made test case 160 fail so I've now disabled it until we can figure out another way to exercise that logic.
2008-09-22better descriptionDaniel Stenberg
2008-09-22Re-enable tests #1 on i686 icc autobuildsYang Tse
2008-09-22Fixed test 539 to handle an out of memory condition that shows up nowDan Fandrich
that memdebug.h is included in the test programs.
2008-09-21fix compiler warning: defined but not usedYang Tse