aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
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
2008-07-17Fixed the XML syntax of a few test files.Dan Fandrich
2008-07-15add comment for include pathsYang Tse
2008-07-15Added test1042 and test1043 to test -C - on HTTP.Dan Fandrich
2008-07-15Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it'sDan Fandrich
added to DISABLED.
2008-07-11Fixed test 553 to pass the torture test.Dan Fandrich
2008-07-11Avoid a potential zombie process when killing an old ftpserverDan Fandrich
2008-07-11Added test cases 1038 and 1039 to test Adrian Kreher's report that ftpDan Fandrich
uploads with -C - didn't resume properly, but the tests pass.
2008-07-10fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse
2008-07-10Added tests 1036 and 1037 to verify resumed ftp downloads with -C -Dan Fandrich
2008-07-08Fixed test 554 to pass the torture test.Dan Fandrich
2008-07-07Added test cases 1034 & 1035 to test IDN name conversion failures.Dan Fandrich
2008-07-07- Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg
fix for it. It occured when you did a FTP transfer using CURLFTPMETHOD_SINGLECWD and then did another one on the same easy handle but switched to CURLFTPMETHOD_NOCWD. Due to the "dir depth" variable not being cleared properly. Scott's test case is now known as test 539 and it verifies the fix.
2008-07-03Phil Blundell provided a fix for libcurl's treatment of unexpected 1xxDaniel Stenberg
response codes. Previously libcurl would hang on such occurances. I added test case 1033 to verify.
2008-06-22- Eduard Bloch filed the debian bug report #487567Daniel Stenberg
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487567) pointing out that libcurl used Content-Range: instead of Range when doing a range request with --head (CURLOPT_NOBODY). This is now fixed and test case 1032 was added to verify.
2008-06-21Edited some test keywords for consistencyDan Fandrich
2008-06-19Always use $LOGDIR when referring to the log directory.Dan Fandrich
2008-06-19Added SSH failure test cases 628-632Dan Fandrich
2008-06-13fixed the language somewhatDaniel Stenberg
2008-06-12Added IPv6 keywords for some more tests that require IPv6 networking supportDan Fandrich
2008-06-08- curl the tool now deals with its command line options somewhat differently!Daniel Stenberg
All boolean options (such as -O, -I, -v etc), both short and long versions, now always switch on/enable the option named. Using the same option multiple times thus make no difference. To switch off one of those options, you need to use the long version of the option and type --no-OPTION. Like to disable verbose mode you use --no-verbose! - Added --remote-name-all to curl, which if used changes the default for all given URLs to be dealt with as if -O is used. So if you want to disable that for a specific URL after --remote-name-all has been used, you muse use -o - or --no-remote-name.
2008-06-06- Added CURLINFO_PRIMARY_IP as a new information retrievable withDaniel Stenberg
curl_easy_getinfo. It returns a pointer to a string with the most recently used IP address. Modified test case 500 to also verify this feature. The implementing of this feature was sponsored by Lenny Rachitsky at NeuStar.
2008-06-01curl returns 0 for these options nowDaniel Stenberg
2008-06-01now returns 0Daniel Stenberg
2008-05-26- Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identifiedDaniel Stenberg
how the HTTP redirect following code didn't properly follow to a new URL if the new url was but a query string such as "Location: ?moo=foo". Test case 1031 was added to verify this fix.
2008-05-22Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich
libtest code.
2008-05-13wait for all 129 bytesDaniel Stenberg
2008-05-13Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg
2008-05-12configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse
when function clock_gettime() is available and the monotonic timer is also available. Otherwise, in some cases, librt or libposix4 could be used for linking even when finally not using the clock_gettime() function due to lack of the monotonic clock.
2008-05-10fix syntax error: missing semicolonYang Tse
2008-05-09Internal time differences now use monotonic time source if available.Yang Tse
This also implies the removal of the winmm.lib dependency for WIN32.
2008-05-03- Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twiceDaniel Stenberg
when using CURL_AUTH_ANY" (http://curl.haxx.se/bug/view.cgi?id=1945240). The problem was that when libcurl rewound a stream meant for upload when it would prepare for a second request, it could accidentally continue the sending of the rewound data on the first request instead of on the second. Ben also provided test case 1030 that verifies this fix.
2008-05-01Document that variable replacement now takes place in the test file <stdout> ↵Dan Fandrich
section.
2008-05-01use variables to support other IPs and port numbersDaniel Stenberg
2008-05-01do variable replacement in the stdout data read from the test caseDaniel Stenberg
2008-05-01Added precheck for hard-coded test server address and portDan Fandrich
2008-05-01Made file XML compatibleDan Fandrich
2008-04-30- To make it easier for applications that want lots of magic stuff done onDaniel Stenberg
redirections and thus cannot use CURLOPT_FOLLOWLOCATION easily, we now introduce the new CURLINFO_REDIRECT_URL option that lets applications extract the URL libcurl would've redirected to if it had been told to. This then enables the application to continue to that URL as it thinks is suitable, without having to re-implement the magic of creating the new URL from the Location: header etc. Test 1029 verifies it.
2008-04-29Added test 1028 to test an HTTP redirect to a FTP URL.Dan Fandrich
2008-04-25tests/libtest/delay.pl no longer used. The 'delay' attribute of theYang Tse
test harness <command> subsection now provides this functionality.