aboutsummaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2012-12-26sockfilt.c: commit b44da5a82a follow-up 2Yang Tse
2012-12-26sockfilt.c: commit b44da5a82a follow-upYang Tse
2012-12-26sockfilt.c: fix some compiler warningsYang Tse
2012-12-25lib556: enable VERBOSE to ease debugging on failuresDaniel Stenberg
2012-12-25socklift.c: Quick fix to re-add missing codeMarc Hoersken
2012-12-25socklift.c: Added select_ws function to support WindowsMarc Hoersken
WinSock select() does not support standard file descriptors, it can only check SOCKETs. The following function is an attempt to create a select() function with support for other handles.
2012-12-25Enable tests 1503, 1504 and 1505Yang Tse
2012-12-25test 1504 and 1505: same as 1502 but with different cleanup sequencesYang Tse
2012-12-23test 1503: same as 1502 but with a different cleanup sequenceYang Tse
2012-12-23test 1502: OOM handling fixesYang Tse
2012-12-22runtests.pl: prepend $srcdir to HTTPTLS server config files pathYang Tse
2012-12-21lib543.c: OOM handling fixesYang Tse
2012-12-19libntlmconnect.c: fix compiler warnings and OOM handlingYang Tse
2012-12-14setup_once.h: refactor inclusion of <unistd.h> and <sys/socket.h>Yang Tse
Inclusion of top two most included header files now done in setup_once.h
2012-12-06runtests and friends: Do not add undefined values to @INCFabian Keil
On FreeBSD this fixes the warning: Use of uninitialized value $p in string eq at /usr/local/lib/perl5/5.14.2/BSDPAN/BSDPAN.pm line 36.
2012-12-05libtest: fix some compiler warningsYang Tse
2012-12-04build: explain current role of LIBS in our Makefile.am filesYang Tse
BLANK_AT_MAKETIME may be used in our Makefile.am files to blank LIBS variable used in generated makefile at makefile processing time. Doing this functionally prevents LIBS from being used for all link targets in given makefile.
2012-11-30testcurl.pl: build example programs for several autobuildsYang Tse
Affected autobuilds: IRIX, AIX, Tru64 and AIX.
2012-11-30build: prevent global LIBS from influencing libtest build targetsYang Tse
2012-11-29build: prevent global LIBS from influencing test server build targetsYang Tse
2012-11-28build: fix Windows build targets damaged since commit 550e403f00Yang Tse
2012-11-28build: avoid linkage of directly unused librariesYang Tse
2012-11-27dd missing NTLM feature for tests 2025, and 2028 to 2032Yang Tse
2012-11-26avoid mixing of enumerated type with another typeYang Tse
2012-11-26Remove stray CRLF in chunk-encoded content-free request bodiesFabian Keil
.. that are sent when auth-negotiating before a chunked upload or when setting the 'Transfer-Encoding: chunked' header and intentionally sending no content. Adjust test565 and test1333 accordingly.
2012-11-23test: offer "automake" output and check for perl betterDaniel Stenberg
runtests.pl -am now uses the "PASS/FAIL: [desc]" output for each executed test. You can run 'make test-am' in the root build directory to invoke that. The reason for this output style is to better allow generic test suite parsers to also grok our test output. The test Makefile now also tests that perl was indeed found and that the PERL variable points to an executable before it tries to run the main test perl script runtests.pl,
2012-11-21Test 206: Use a Content-Length header for the 407 responseFabian Keil
Otherwise curl would have to guess where the body ends.
2012-11-21Test 206: Don't respond to a succesful CONNECT request with a bodyFabian Keil
It's against the spec and caused test failures when header and response were read from the network separately in which case bug #39 wasn't triggered.
2012-11-19Get test 2032 working when using valgrindFabian Keil
If curl_multi_fdset() sets maxfd to -1, the socket detection loop is skipped and thus !found_new_socket is no cause for alarm.
2012-11-19test2032: spurious failure caused by premature terminationKamil Dudka
Bug: http://curl.haxx.se/mail/lib-2012-11/0095.html
2012-11-19Fix comment typos in test 517Fabian Keil
2012-11-19Test 92 and 194: normalize spaces in the Server headersFabian Keil
It makes no difference from curl's point of view but makes it more convenient to use the tests with a lws-normalizing proxy between curl and the test server.
2012-11-19Add a HOSTIP precheck for tests 31 and 1105Fabian Keil
They currently only work for 127.0.0.1 which is hardcoded and can't be easily changed.
2012-11-19Let test 8 work as long as %HOSTIP ends with ".0.0.1"Fabian Keil
.. and add a precheck to skip the test otherwise.
2012-11-19Add --resolve to the keywords and name of test 1318Fabian Keil
This makes it easier to skip it automatically when the test suite is used with external proxies.
2012-11-19Add FTP keywords for a couple of currently keyword-less FTP testsFabian Keil
2012-11-19Add keywords for a couple of currently keyword-less HTTP testsFabian Keil
2012-11-19Use carriage returns in all headers in test 31Fabian Keil
Trailing spaces were left unmodifed, assuming they were intentional.
2012-11-19Do not mix CRLF and LF header endings in a couple of HTTP testsFabian Keil
Consistently use CRLF instead. The mixed endings weren't documented so I assume they were unintentional. This change doesn't matter for curl itself but makes using the tests with a proxy between curl and the test server more convenient. Tests that consistently use no carriage returns were left unmodified as one can easily work around this.
2012-11-18fixed memory leak: CURLOPT_RESOLVE with multi interfaceDaniel Stenberg
DNS cache entries populated with CURLOPT_RESOLVE were not properly freed again when done using the multi interface. Test case 1502 added to verify. Bug: http://curl.haxx.se/bug/view.cgi?id=3575448 Reported by: Alex Gruz
2012-11-17mem-include-scan: verify memory #includesDaniel Stenberg
If we use memory functions (malloc, free, strdup etc) in C sources in libcurl and we fail to include curl_memory.h or memdebug.h we either fail to properly support user-provided memory callbacks or the memory leak system of the test suite fails. After Ajit's report of a failure in the first category in http_proxy.c, I spotted a few in the second category as well. These problems are now tested for by test 1132 which runs a perl program that scans for and attempts to check that we use the correct include files if a memory related function is used in the source code. Reported by: Ajit Dhumale Bug: http://curl.haxx.se/mail/lib-2012-11/0125.html
2012-11-16Fix the libauthretry changes from 7c0cbcf2f61Fabian Keil
They broke the NTLM tests from 2023 to 2031.
2012-11-13fixed Visual Studio 2010 compilationSergei Nikulov
2012-11-12runtests: limit execessive logging/outputDaniel Stenberg
2012-11-08Fix compilation of lib1501Fabian Keil
2012-11-06test1413: verify redirects to URLs with fragmentsDaniel Stenberg
The bug report claimed it didn't work. This problem was probably fixed in 473003fbdf. Bug: http://curl.haxx.se/bug/view.cgi?id=3581898
2012-11-06URL parser: cut off '#' fragments from URLs (better)Daniel Stenberg
The existing logic only cut off the fragment from the separate 'path' buffer which is used when sending HTTP to hosts. The buffer that held the full URL used for proxies were not dealt with. It is now. Test case 5 was updated to use a fragment on a URL over a proxy. Bug: http://curl.haxx.se/bug/view.cgi?id=3579813
2012-11-06test 2027/2030: take duplicate Digest requests into accountDaniel Stenberg
With the reversion of ce8311c7e49eca and the new clear logic, this flaw is present and we allow it.
2012-11-06test1412: verify Digest with repeated URLsDaniel Stenberg
This test case verifies that bug 3582718 is fixed. Bug: http://curl.haxx.se/bug/view.cgi?id=3582718 Reported by: Nick Zitzmann (originally)
2012-11-06uniformly use AM_CPPFLAGS, avoid deprecated INCLUDESDave Reisner
Since automake 1.12.4, the warnings are issued on running automake: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') Avoid INCLUDES and roll these flags into AM_CPPFLAGS. Compile tested on: Ubuntu 10.04 (automake 1:1.11.1-1) Ubuntu 12.04 (automake 1:1.11.3-1ubuntu2) Arch Linux (automake 1.12.4)