aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest
AgeCommit message (Collapse)Author
2012-12-23test 1502: OOM handling fixesYang 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-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-30build: prevent global LIBS from influencing libtest 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-26avoid mixing of enumerated type with another typeYang Tse
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-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-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-08Fix compilation of lib1501Fabian Keil
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)
2012-11-06libauthretry.c: shorten lines to fit within 80 colsDaniel Stenberg
2012-11-04FTP: prevent the multi interface from blockingDaniel Stenberg
As pointed out in Bug report #3579064, curl_multi_perform() would wrongly use a blocking mechanism internally for some commands which could lead to for example a very long block if the LIST response never showed. The solution was to make sure to properly continue to use the multi interface non-blocking state machine. The new test 1501 verifies the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3579064 Reported by: Guido Berhoerster
2012-09-16curl_multi_wait: Add parameter to return number of active socketsSara Golemon
Minor change to recently introduced function. BC breaking, but since curl_multi_wait() doesn't exist in any releases that should be fine.
2012-09-11libntlmconnect.c: Fixed typo and conversionMarc Hoersken
2012-09-11libntlmconnect.c: Fixed warning: curl_easy_getinfo expects long pointerMarc Hoersken
Fixed tests/libtest/libntlmconnect.c:52: warning: call to '_curl_easy_getinfo_err_long' declared with attribute warning: curl_easy_getinfo expects a pointer to long for this info
2012-09-11libntlmconnect.c: Fixed warning: comparison of signed/unsigned integerMarc Hoersken
Windows does not use -1 to represent invalid sockets and the SOCKET type is unsigned.
2012-09-01Unit test for curl_multi_wait()Sara Golemon
2012-09-01Use MAX_EASY_HANDLES instead of hardcoding the number of handles twiceJoe Mason
2012-08-31test2032: bail out after last transferDaniel Stenberg
The test would hang and get aborted with a "ABORTING TEST, since it seems that it would have run forever." until I prevented that from happening. I also fixed the data file which got broken CRLF line endings when I sucked down the path from Joe's repo == my fault. Removed #37 from KNOWN_BUGS as this fix and test case verifies exactly this.
2012-08-31NTLM: verify multiple connections workJoe Mason
Add test2032 to test that NTLM does not switch connections in the middle of the handshake
2012-08-06Fixed compiler warning - argument is type long.Guenter Knauf
2012-08-03Add tests of auth retriesJoe Mason
2012-07-20Fixed CR issue with Win32 version on MSYS.Guenter Knauf
Previous fix didnt work on Linux ...
2012-07-20Fixed CR issue with Win32 version on MSYS.Guenter Knauf
2012-07-05lib503: enable verbose to ease debugging thisDaniel Stenberg
2012-06-28lib582.c: fix conversion warningYang Tse
2012-06-07lib554.c: use curl_formadd() properlyDaniel Stenberg
The length/size options take longs so make sure to pass on such types. Reported by: Neil Bowers Bug: http://curl.haxx.se/mail/lib-2012-06/0001.html
2012-06-05tests 1334 to 1363 revisited.Yang Tse
Add a postcheck section to verify unintended file creation. Remove needless <file> checks in verify section. Renumbering where appropriate.
2012-05-27test1013.pl: filter out MetalinkDaniel Stenberg
Since it isn't a feature supported by curl-config we can't compare that with the --version output
2012-04-18Some explicit conversion to 'long' of curl_easy_setopt() third argumentYang Tse
Explicit conversion to 'long' of curl_easy_setopt() third argument for options CURLOPT_HTTPAUTH and CURLOPT_PROXYAUTH given that this is how its bitmasks are docummented to be used.
2012-04-17build adjustments: commit 9e24b9c7 follow-upYang Tse
2012-04-11build adjustments: CURL_HIDDEN_SYMBOLS no longer defined in config filesYang Tse
configure script now provides conditional definitions for Makefile.am that result in CURL_HIDDEN_SYMBOLS being defined by resulting makefiles when appropriate. Additionally, configure script option for symbol hiding control is now named --enable-symbol-hiding --disable-symbol-hiding. While still valid, old option name --enable-hidden-symbols --disable-hidden-symbols will be deprecated in some future release.
2012-04-11build adjustments: functionally revert commits 4d3fb91f and bbfe1182Yang Tse
Undefining CURL_HIDDEN_SYMBOLS in source files isn't the proper fix.
2012-04-10libtests: build adjustmentYang Tse
Undefine CURL_HIDDEN_SYMBOLS libcurl private preprocessor macro that might leak from lib/setup.h into source files where this should not be defined.
2012-04-09configure: Windows cross-compilation fixesYang Tse
BUILDING_LIBCURL and CURL_STATICLIB are no longer defined in curl_config.h, configure will generate appropriate conditionals so that mentioned symbols get defined and used in Makefiles at compilation time
2012-04-04lib599.c: fix compiler warningYang Tse
2012-04-01HTTP: reset expected DL/UL sizes on redirectsDaniel Stenberg
With FOLLOWLOCATION enabled. When a 3xx page is downloaded and the download size was known (like with a Content-Length header), but the subsequent URL (transfered after the 3xx page) was chunked encoded, then the previous "known download size" would linger and cause the progress meter to get incorrect information, ie the former value would remain being sent in. This could easily result in downloads that were WAY larger than "expected" and would cause >100% outputs with the curl command line tool. Test case 599 was created and it was used to repeat the bug and then verify the fix. Bug: http://curl.haxx.se/bug/view.cgi?id=3510057 Reported by: Michael Wallner
2012-03-22test #598: OOM handling fixesYang Tse
2012-03-22fix several compiler warningsYang Tse
2012-03-20fix several compiler warningsYang Tse
2012-02-07curl_easy_reset: reset the referer stringDaniel Stenberg
When CURLOPT_REFERER has been used, curl_easy_reset() did not properly clear it. Verified with the new test 598 Bug: http://curl.haxx.se/bug/view.cgi?id=3481551 Reported by: Michael Day
2012-01-19testtrace.c: fix compiler warningYang Tse
2012-01-17tests: enable time tracing on tests 500, 573 and 585Yang Tse