summaryrefslogtreecommitdiff
path: root/tests/libtest/lib503.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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.
* lib503: enable verbose to ease debugging thisDaniel Stenberg2012-07-051-1/+2
|
* multi tests: OOM handling fixesYang Tse2011-10-211-92/+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-12/+10
| | | | | | 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.
* remove the CVSish $Id$ linesDaniel Stenberg2010-03-241-1/+0
|
* Addes OOM handling for curl_easy_setopt() calls in testYang Tse2010-02-051-9/+13
|
* 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-2/+2
| | | | 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
|
* Use curl_global_init() and curl_global_cleanup().Yang Tse2006-10-251-7/+27
| | | | Improve cleanup in case of initialization failure.
* Abort test if it seems that it would have run forever. This is just to preventYang Tse2006-10-241-37/+72
| | | | | | | test hanging and actually is an indication that there's a condition that is not being properly handled at some point in the library. Remove a pair of braces and adjust indentation appropriately.
* Added select_test() function to allow selecting on no sockets onGisle Vanem2006-09-101-1/+1
| | | | Winsock.
* removed trailing whitespaceDaniel Stenberg2004-10-031-2/+2
|
* clean up properly on failure to enable easier libcurl leak detectionDaniel Stenberg2004-05-141-1/+1
|
* 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
* changed the test() function to return type intDaniel Stenberg2004-02-051-2/+2
|
* 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-1/+2
|
* Add include files to prevent warnings on some (HPUX) systems.Daniel Stenberg2003-03-121-0/+6
|
* used this to verify bug report 651460Daniel Stenberg2002-12-131-0/+77