aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2006-08-31added missing testDaniel Stenberg
2006-08-23Use /usr/bin/env to invoke perl like the other test scripts.Dan Fandrich
2006-08-19Based on a patch by Armel Asselin, the FTP code no longer re-issues the TYPEDaniel Stenberg
command on subsequent requests on a re-used connection unless it has to.
2006-08-18Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn'tDaniel Stenberg
send the whole request at once, even though the Expect: header was disabled by the application. An effect of this change is also that small (< 1024 bytes) POSTs are now always sent without Expect: header since we deem it more costly to bother about that than the risk that we send the data in vain.
2006-08-14Replace exit() with return() in main()Yang Tse
2006-08-07Allow again proper compilation outside of the source treeYang Tse
2006-07-29Fix compiler warnings.Yang Tse
2006-07-28Replace send() and recv() with swrite() and sread() macros.Yang Tse
2006-07-27test case 277 - HTTP RFC1867-type formposting with custom Content-TypeDaniel Stenberg
2006-07-19Abort if unable to write pid file, and close socket when aborting.Yang Tse
2006-07-19Abort if unable to write pid file.Yang Tse
2006-07-17-Use curl_socket_t instead of int.Yang Tse
-Log errno in message if setsockopt() fails. -Close listener socket on major errors.
2006-07-17tests/libtest/lib506.c version 1.11 is now also logging CURLSHOPT_LOCKFUNC, ↵Yang Tse
CURLSHOPT_UNLOCKFUNC and CURLSHOPT_USERDATA, so we now also have to check them here.
2006-07-17Fix compiler warning "enumerated type mixed with another type"Yang Tse
2006-07-17Minor cleanupYang Tse
2006-07-14Null terminate string in buffer before feeding it to strtol()Yang Tse
2006-07-13Change to meaningful var names and take care of a compiler warning on IRIX ↵Yang Tse
6.5.22 MIPSPro C 7.3 64bit
2006-07-12Remove var not used.Yang Tse
2006-07-12Log a message if not all data is sent.Yang Tse
2006-07-12Fix compiler warning: comparison between signed and unsignedYang Tse
2006-07-12Place parenthesis surrounding macro parameters so that the use of sread and ↵Yang Tse
swrite is more intuitive.
2006-07-12sread now returns ssize_tYang Tse
2006-07-12Pay attention when typecasting an operationYang Tse
2006-07-12sread now returns ssize_tYang Tse
2006-07-12Use platform's native types for recv() and send() arguments.Yang Tse
2006-07-08Ates Goral pointed out that libcurl's cookie parser did case insensitiveDaniel Stenberg
string comparisons on the path which is incorrect and provided a patch that fixes this. I edited test case 8 to include details that test for this.
2006-06-10Fix "'x' might be used uninitialized in this function" warnings.Gisle Vanem
2006-06-09stricter type use to please compilersDaniel Stenberg
2006-06-08lib525.c does a FTP upload with PORT using multi interfaceDaniel Stenberg
2006-06-07NTLM2 session response supportDaniel Stenberg
2006-05-27reverted the previous .libs check for libs, but instead make mingw32 buildsDaniel Stenberg
more similar to other configure builds (== use .la for libext and no binext)
2006-05-25better check for libs created in the .libs directory since libtool does thisDaniel Stenberg
kind of magic
2006-05-24make sure we pass a time_t * to localtime(), and the timeval struct membersDaniel Stenberg
are not always time_t ones
2006-05-24based on Tor Arntsen's fix, this should correct test case 271 to again runDaniel Stenberg
fine
2006-05-111 - allow much longer time for the test FTP server to startup and get verifiedDaniel Stenberg
2 - store the time it took to verify it and allow that time to be used as %FTPTIME[23] in command lines to allow us to adjust better to slow hosts since test 190 failed on my slow solaris machine just because it hadn't gotten time to run all the way the test assumed all machines would reach before the time-out elapsed.
2006-05-10My Solaris test server was simply too slow to be able to respond within 4Daniel Stenberg
seconds even when everything is fine! Now we allow a test server 8 seconds to respond to still be considered ok.
2006-05-10removed variable declarations shadowing previously declared variablesDaniel Stenberg
2006-04-26David McCreedy brought line end conversions when doing FTP ASCIIDaniel Stenberg
transfers. They are done on non-windows systems and translate CRLF to LF.
2006-04-10if configure found a fork(), sws supports --fork which is *NOT* used by theDaniel Stenberg
ordinary test suite. Also removed the perror() calls and instead made the logging output the errno code to ease error tracking using logs.
2006-04-10output the exit code from stunnel to stderr in case it is non-zeroDaniel Stenberg
2006-04-10support --fork and pass that on to swsDaniel Stenberg
2006-04-10Scan for 'stunnel4' before 'stunnel' since debian have them setup this wayDaniel Stenberg
and it should break most other systems. The "funny" part is that debian actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own stunnel-version-detect-and-adjust-to-it system. Added initial support for optionally running servers with fork support.
2006-04-10Use correct content-length. Found out by patching the libcurl read to onlyDaniel Stenberg
read one byte at a time...
2006-04-05cut off a bit more of the type-2 ntlm message since it differs betweenDaniel Stenberg
hosts
2006-04-05Michele Bini modified the NTLM code to work for his "weird IIS case"Daniel Stenberg
(http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash function in addition to the LM one and making some other adjustments in the order the different parts of the data block are sent in the Type-2 reply. Inspiration for this work was taken from the Firefox NTLM implementation. I edited the existing 21(!) NTLM test cases to run fine with these news. Due to the fact that we now properly include the host name in the Type-2 message the test cases now only compare parts of that chunk.
2006-03-28#1451929 (http://curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug thatDaniel Stenberg
occurred when asking libcurl to follow HTTP redirects and the original URL had more than one question mark (?). Added test case 276 to verify.
2006-03-03If run on a curl built shared, detect this and invoke libtool for gdbDaniel Stenberg
accordingly.
2006-03-03added test524Daniel Stenberg
2006-03-03Prevent uploading to a URL that has no file name part.Daniel Stenberg
2006-02-25Fix typo.Gisle Vanem