aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2008-08-22Fixed a problem when --dump-header - was given with more than one URL,Dan Fandrich
which caused an error when the second header was dumped due to stdout being closed. Added test case 1066 to verify. Also fixed a potential problem where a closed file descriptor might be used for an upload when more than one URL is given.
2008-08-22Increase to 20 the number of CVS update retries.Yang Tse
2008-08-21Test case 557 now also verifies signed and unsigned int formatting.Yang Tse
2008-08-20Simplify condition checkYang Tse
2008-08-18Update test case 557Yang Tse
2008-08-18Added test case 557 to verify libcurl's internal curl_m*printf() functionsYang Tse
formatting functionality when handling signed and unsigned longs, as well as our curl_off_t data type.
2008-08-17libcurl internal base64.h header file renamed to curl_base64.hYang Tse
2008-08-15Added test case 1065 to test a PUT with a single file but two URLs. ThisDan Fandrich
was discovered to be problematic while investigating an incident reported by Von back in May. curl in this case doesn't include a Content-Length: or Transfer-Encoding: chunked header which is illegal. This test case is added to DISABLED until a solution is found.
2008-08-14Added Range keywordDan Fandrich
2008-08-14Added test 1063 to test an invalid large range on a file:Dan Fandrich
2008-08-12Fixed a buffer overflow problem in Curl_proxyCONNECT that could occurDan Fandrich
when a server responded with long headers and data. Luckily, the buffer overflowed into another unused buffer, so no actual harm was done. Added test cases 1060 and 1061 to verify.
2008-08-12Handle short readsDan Fandrich
2008-08-12- Andy Tsouladze fixed runtests.pl to not attempt to execute the stunnelDaniel Stenberg
_directory_ if that happened to appear in the path!
2008-08-11Added HTTP CONNECT keywordsDan Fandrich
2008-08-11Fixed a boundary condition error in ftp_readresp() whereby a non-terminalDan Fandrich
line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket.
2008-08-11Die when curlbuild.h is not created or availableYang Tse
2008-08-10Fix NetWare curlbuild.hYang Tse
NetWare curlbuild.h settings depend on whether LIBC or CLIB is used. The NetWare specific Makefile is capable of knowing which target is being built. So, finally, the NetWare Makefile will take care of generating curlbuild.h
2008-08-09When running testcurl.pl display definitions from curlbuild.hYang Tse
2008-08-08Reintroduce the adjustment previously done in testcurl.pl so that it copies theYang Tse
CVS checked out curlbuild.h.dist as curlbuild.h for any non-configure target when host system is not running buildconf.bat. All the curlbuild.h stuff was done taking in consideration that no adjustment would be needed in non-configure makefiles. As it is documented, when trying to build on non-configure capable systems or on systems which for any reason don't run the true configure script, it is required to have the proper curlbuild.h in place before calling any makefile. Due to the hardcore memory debugging stuff c-ares enabled debug builds also need the file in the proper place before attempting to build c-ares.
2008-08-08Made ftp a required featureDan Fandrich
2008-08-08Added test1059 to test the FTP proxy tunnel problem fixed July 11.Dan Fandrich
2008-08-08Peek at predefined symbols done. and now removed.Yang Tse
Netware's autobuilds gcc can not been told apart from a standard built gcc.
2008-08-08Take a peek at netware's gcc predefined symbols.Yang Tse
2008-08-07Remove last adjustment done to testcurl.pl to verify if change introduced byYang Tse
Guenter Knauf in lib/Makefile.netware is enough to get the netware autobuilds going again.
2008-08-07Adjust testcurl.pl to copy checked out curlbuild.h.dist as curlbuild.hYang Tse
for non-configure targets when host system doesn't run buildconf.bat.
2008-08-07Initial support of curlbuild.h and curlrules.h which allowsYang Tse
to have a curl_off_t data type no longer gated to off_t.
2008-08-04- Test cases 1051, 1052 and 1055 were added by Daniel Fandrich on July 30 andDaniel Stenberg
proved how PUT and POST with a redirect could lead to a "hang" due to the data stream not being rewound properly when it had to in order to get sent properly (again) to the subsequent URL. This is now fixed and these test cases are no longer disabled.
2008-08-03- Test case 1041 (added by Daniel Fandrich April 14th) proved a bug where PUTDaniel Stenberg
with -C - sent garbage in the Content-Range: header. I fixed this problem by making sure libcurl always sets the size of the _entire_ upload if an app attemps to do resumed uploads since libcurl simply cannot know the size of what is currently at the server end. Test 1041 is no longer disabled.
2008-08-03Improved titleDan Fandrich
2008-08-01Added tests 1057 and 1058 to test FTP and HTTPS transfers with rangesDan Fandrich
relative to end of file.
2008-08-01User names embedded in proxy URLs without a password were parsedDan Fandrich
incorrectly--the host name is treated as part of the user name and the port number becomes the password. This can be observed in test 279 (was KNOWN_ISSUE #54).
2008-07-31Fixed keywordDan Fandrich
2008-07-31Added keywordsDan Fandrich
2008-07-31Added test of IPv6 scope handlingDan Fandrich
2008-07-31s/silly/underquoted definition/Yang Tse
2008-07-30Added test cases 1052 through 1055 to test uploading data from filesDan Fandrich
during redirects. Test cases 1052 and 1055 show problems (maybe the same root cause as 1051) and are disabled.
2008-07-30Added test case 1051 to test Location: following with PUT, as reportedDan Fandrich
by Ben Sutcliffe. The test when run manually shows a problem in curl, but the test harness web server doesn't run the test correctly so it's disabled for now.
2008-07-30Undo using the sreadfrom() wrapper to replace recvfrom() in our code, for ↵Yang Tse
real ;-)
2008-07-30Undo using the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse
2008-07-30Reinstate hiding aclocal 'underquoted definition' warnings.Yang Tse
2008-07-29Return an error code when extra files are found in filecheck:Dan Fandrich
2008-07-29Added test case 1050 to test --ftp-port with an IPv6 address.Dan Fandrich
Made --interface tests less restrictive on host address.
2008-07-28Added test cases 1045 through 1049 as simple tests of --interface using theDan Fandrich
localhost interface.
2008-07-27Added feature in runtests.pl to select tests based on key word.Dan Fandrich
2008-07-26Added test 1044 to test large file support in ftp with -I.Dan Fandrich
2008-07-26No longer hide aclocal 'underquoted definition' warnings.Yang Tse
http://sources.redhat.com/automake/automake.html#Extending-aclocal documents that starting with Automake 1.8, aclocal will warn about all underquoted calls to AC_DEFUN due to the fact that in a single aclocal run it might include more than once all .m4 files which it finds available, this includes .m4 files from other software packages. If the first argument to AC_DEFUN is underquoted and the same macro is included more than once, successive inclusions after the first one will expand the macro instead of assuming it is the same as the first one included.
2008-07-24Changed the long logfile elision code in runtests.pl to properly handleDan Fandrich
lines ending in \r.
2008-07-23Mention that the test harness can't check every possible feature.Dan Fandrich
2008-07-21fix compiler warning: implicit conversion from "long" to "int"Yang Tse
2008-07-21Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse