summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added feature in runtests.pl to select tests based on key word.Dan Fandrich2008-07-273-8/+26
|
* Added test 1044 to test large file support in ftp with -I.Dan Fandrich2008-07-263-1/+60
|
* No longer hide aclocal 'underquoted definition' warnings.Yang Tse2008-07-261-1/+0
| | | | | | | | | | | | 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.
* Changed the long logfile elision code in runtests.pl to properly handleDan Fandrich2008-07-241-25/+12
| | | | lines ending in \r.
* Mention that the test harness can't check every possible feature.Dan Fandrich2008-07-231-4/+8
|
* fix compiler warning: implicit conversion from "long" to "int"Yang Tse2008-07-211-2/+2
|
* Use the sreadfrom() wrapper to replace recvfrom() in our code.Yang Tse2008-07-211-9/+7
|
* Fixed the XML syntax of a few test files.Dan Fandrich2008-07-175-22/+23
|
* add comment for include pathsYang Tse2008-07-154-14/+22
|
* Added test1042 and test1043 to test -C - on HTTP.Dan Fandrich2008-07-154-1/+182
|
* Added test1040 and test1041 to test -C - on HTTP. Test 1041 failed so it'sDan Fandrich2008-07-154-3/+158
| | | | added to DISABLED.
* Fixed test 553 to pass the torture test.Dan Fandrich2008-07-112-23/+35
|
* Avoid a potential zombie process when killing an old ftpserverDan Fandrich2008-07-111-0/+1
|
* Added test cases 1038 and 1039 to test Adrian Kreher's report that ftpDan Fandrich2008-07-113-1/+107
| | | | uploads with -C - didn't resume properly, but the tests pass.
* fallback to gettimeofday when monotonic clock is unavailable at run-timeYang Tse2008-07-101-3/+18
|
* Added tests 1036 and 1037 to verify resumed ftp downloads with -C -Dan Fandrich2008-07-103-1/+116
|
* Fixed test 554 to pass the torture test.Dan Fandrich2008-07-081-7/+6
|
* Added test cases 1034 & 1035 to test IDN name conversion failures.Dan Fandrich2008-07-074-7/+137
|
* - Scott Barrett provided a test case for a segfault in the FTP code and theDaniel Stenberg2008-07-073-1/+132
| | | | | | | | 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.
* Phil Blundell provided a fix for libcurl's treatment of unexpected 1xxDaniel Stenberg2008-07-032-1/+61
| | | | | response codes. Previously libcurl would hang on such occurances. I added test case 1033 to verify.
* - Eduard Bloch filed the debian bug report #487567Daniel Stenberg2008-06-222-1/+57
| | | | | | | (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.
* Edited some test keywords for consistencyDan Fandrich2008-06-2112-6/+12
|
* Always use $LOGDIR when referring to the log directory.Dan Fandrich2008-06-191-14/+14
|
* Added SSH failure test cases 628-632Dan Fandrich2008-06-196-1/+169
|
* fixed the language somewhatDaniel Stenberg2008-06-131-1/+1
|
* Added IPv6 keywords for some more tests that require IPv6 networking supportDan Fandrich2008-06-124-0/+4
|
* - curl the tool now deals with its command line options somewhat differently!Daniel Stenberg2008-06-083-7/+7
| | | | | | | | | | | | | 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.
* - Added CURLINFO_PRIMARY_IP as a new information retrievable withDaniel Stenberg2008-06-062-2/+16
| | | | | | 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.
* curl returns 0 for these options nowDaniel Stenberg2008-06-012-2/+2
|
* now returns 0Daniel Stenberg2008-06-014-4/+4
|
* - Bug report #1973352 (http://curl.haxx.se/bug/view.cgi?id=1973352) identifiedDaniel Stenberg2008-05-262-1/+77
| | | | | | 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.
* Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich2008-05-2235-88/+88
| | | | libtest code.
* wait for all 129 bytesDaniel Stenberg2008-05-131-1/+1
|
* Added test case 556 that uses curl_easy_send() and curl_easy_recv()Daniel Stenberg2008-05-134-2/+122
|
* configure script will now define HAVE_CLOCK_GETTIME_MONOTONIC symbol onlyYang Tse2008-05-121-1/+1
| | | | | | | 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.
* fix syntax error: missing semicolonYang Tse2008-05-101-1/+1
|
* Internal time differences now use monotonic time source if available.Yang Tse2008-05-091-51/+52
| | | | This also implies the removal of the winmm.lib dependency for WIN32.
* - Ben Van Hof filed bug report #1945240: "libcurl sometimes sends body twiceDaniel Stenberg2008-05-032-1/+110
| | | | | | | | 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.
* Document that variable replacement now takes place in the test file <stdout> ↵Dan Fandrich2008-05-012-2/+3
| | | | section.
* use variables to support other IPs and port numbersDaniel Stenberg2008-05-011-5/+1
|
* do variable replacement in the stdout data read from the test caseDaniel Stenberg2008-05-011-0/+3
|
* Added precheck for hard-coded test server address and portDan Fandrich2008-05-011-0/+4
|
* Made file XML compatibleDan Fandrich2008-05-011-1/+1
|
* - To make it easier for applications that want lots of magic stuff done onDaniel Stenberg2008-04-302-1/+58
| | | | | | | | | 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.
* Added test 1028 to test an HTTP redirect to a FTP URL.Dan Fandrich2008-04-292-1/+95
|
* tests/libtest/delay.pl no longer used. The 'delay' attribute of theYang Tse2008-04-252-17/+1
| | | | test harness <command> subsection now provides this functionality.
* Add 'timeout' and 'delay' attributes support for the test harness <command> ↵Yang Tse2008-04-253-35/+50
| | | | subsection
* <postcheck> delay no longer needed for this test.Yang Tse2008-04-231-3/+0
| | | | http://curl.haxx.se/mail/lib-2008-04/0392.html
* improve synchronization between test harness runtests.pl scriptYang Tse2008-04-237-7/+132
| | | | | | and test harness servers to minimize risk of false test failures. http://curl.haxx.se/mail/lib-2008-04/0392.html
* fix minor memory leak triggered upon test failureYang Tse2008-04-221-1/+5
|