summaryrefslogtreecommitdiff
path: root/tests/libtest/lib504.c
Commit message (Collapse)AuthorAgeFilesLines
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* copyright: fix out-of-date copyright ranges and missing headersDaniel Stenberg2020-03-241-1/+1
| | | | | | | | | Reported by the new script 'scripts/copyright.pl'. The script has a regex whitelist for the files that don't need copyright headers. Removed three (mostly usesless) README files from docs/ Closes #5141
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* code style: use spaces around plusesDaniel Stenberg2017-09-111-2/+2
|
* tests/libtest: follow our code style guidelines betterDaniel Stenberg2016-04-031-2/+2
| | | | ... checksrc of all test code is pending.
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts renaming and usage of lib/*.h header files done 28-12-2012, reverting 2 commits: f871de0... build: make use of 76 lib/*.h renamed files ffd8e12... build: rename 76 lib/*.h files This also reverts removal of redundant include guard (redundant thanks to changes in above commits) done 2-12-2013, reverting 1 commit: c087374... curl_setup.h: remove redundant include guard This also reverts renaming and usage of lib/*.c source files done 3-12-2013, reverting 3 commits: 13606bb... build: make use of 93 lib/*.c renamed files 5b6e792... build: rename 93 lib/*.c files 7d83dff... build: commit 13606bbfde follow-up 1 Start of related discussion thread: http://curl.haxx.se/mail/lib-2013-01/0012.html Asking for confirmation on pushing this revertion commit: http://curl.haxx.se/mail/lib-2013-01/0048.html Confirmation summary: http://curl.haxx.se/mail/lib-2013-01/0079.html NOTICE: The list of 2 files that have been modified by other intermixed commits, while renamed, and also by at least one of the 6 commits this one reverts follows below. These 2 files will exhibit a hole in history unless git's '--follow' option is used when viewing logs. lib/curl_imap.h lib/curl_smtp.h
* build: make use of 76 lib/*.h renamed filesYang Tse2012-12-281-2/+2
| | | | | | 76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
* multi tests: OOM handling fixesYang Tse2011-10-211-86/+32
| | | | Additionally, improved error checking and logging.
* test suite: libtest header inclusion cleanupYang Tse2011-09-061-2/+0
| | | | | Added missing memoryTracking to test cases 560 and 583. If this triggers leak detection on these, it only means that previously it was going unnoticed.
* libtests: stop checking for CURLM_CALL_MULTI_PERFORMDaniel Stenberg2011-06-271-9/+5
| | | | | | CURLM_CALL_MULTI_PERFORM stopped being a valid return code from curl_multi_perform back in 7.20.0. All the libcurl tests are ajusted to this and no longer check for this return code. Makes them simpler.
* compiler warning: fixYang Tse2011-05-261-0/+1
| | | | | | Fix compiler warning: variable was set but never used Fix compiler warning: clobber ignored
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* Allow test 538 to run even when proxy support is disabledDan Fandrich2010-03-301-2/+3
|
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Addes OOM handling for curl_easy_setopt() calls in testYang Tse2010-02-051-21/+25
|
* include "memdebug.h"Yang Tse2008-09-201-0/+1
|
* Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich2008-05-221-1/+1
| | | | libtest code.
* Renamed a couple of global variables to avoid shadowing warningsYang Tse2007-10-021-1/+1
|
* change max allowed time for this test to complete to 90 secondsYang Tse2007-03-101-2/+2
|
* Some tests were using functions curlx_tvnow and curlx_tvdiff which are notYang Tse2007-02-091-5/+5
| | | | | | | | | | | | | | | | | | | part of the official libcurl API http://curl.haxx.se/lxr/source/lib/README.curlx The documented way of using them would be to use timeval.c as a source code file. The above described method works very well when statically linking libcurl and apps, test programs, but has several drawbacks when you build a true shared libcurl (i.e. Name space clash at linkage stage as functions are defined more than once. Windows makefiles are not capable of handling this system of source-level sharing) So... Now testutil.h and testutil.c define and implement tutil_tvnow and tutil_tvdiff which replace curlx_tvnow and curlx_tvdiff for the libtest programs. Doing this we avoid the above described problems, and the code in the testsuite does not impose the need to keep those functions public in libcurl even when not part of the API.
* Some compilers lacks <sys/time.h>. Include "timeval.h" to simplify the #ifdefs.Gisle Vanem2007-01-291-3/+2
|
* Add project notice and file IdYang Tse2006-10-251-0/+10
|
* Compiler warning fixYang Tse2006-10-251-2/+2
|
* Use curl_global_init() and curl_global_cleanup().Yang Tse2006-10-251-65/+85
| | | | Improve cleanup in case of initialization failure.
* 30 seconds isn't long enough for this test on a loaded server.Dan Fandrich2006-10-231-2/+2
|
* Oops! Actually set the limit to 30 seconds.Yang Tse2006-10-201-2/+2
|
* Decrease the posibility of aborting a test which actually is notYang Tse2006-10-201-10/+33
| | | | | | stale by replacing loop counters with timeouts. In this way the main loop of the test will be allowed to run up to 30 seconds on any platform before aborting it.
* Compiler warning fixYang Tse2006-10-191-1/+1
|
* When aborting, show loop counter values when more than one counter exists.Yang Tse2006-10-191-0/+1
|
* Abort test if it seems that it would have run forever. This is just to preventYang Tse2006-10-191-3/+12
| | | | | | | test hanging and actually is an indication that there's a condition that is not being properly handled at some point in the library. Loop counter limits might need to be further increased on false positives.
* Added select_test() function to allow selecting on no sockets onGisle Vanem2006-09-101-1/+1
| | | | Winsock.
* Attempt to make this code more forgiving for systems that doesn't detectDaniel Stenberg2005-03-311-4/+4
| | | | the failed connect "immediately".
* clean up properly on failure to enable easier libcurl leak detectionDaniel Stenberg2004-05-141-40/+42
|
* make the loop use a fixed number of attempts to prevent eternal loopsDaniel Stenberg2004-04-271-1/+4
|
* removed include stuff now handled by test.hDaniel Stenberg2004-03-031-6/+0
|
* include sys/select.h to prevent picky compiler warnings when using select()Daniel Stenberg2004-02-201-0/+3
| | | | without proto
* return an int, not a CURLcodeDaniel Stenberg2004-02-131-1/+1
|
* changed the test() function to return type intDaniel Stenberg2004-02-051-1/+1
|
* avoid dependence on the order of the fields in the timeval struct, pointed outDaniel Stenberg2003-10-251-1/+4
| | | | by Gisle Vanem
* don't select() forever, set a timeout so at least the test fails niceDaniel Stenberg2003-10-241-11/+14
|
* more defensive checking as platforms differ...Daniel Stenberg2003-03-171-6/+10
|
* Add include files to prevent warnings on some (HPUX) systems.Daniel Stenberg2003-03-121-0/+6
|
* Added test case 504, using multi interface and a local proxy without anythingDaniel Stenberg2002-12-161-0/+76
listening on the port we use.