summaryrefslogtreecommitdiff
path: root/tests/libtest/lib518.c
Commit message (Collapse)AuthorAgeFilesLines
* Revert changes relative to lib/*.[ch] recent renamingYang Tse2013-01-061-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 93 lib/*.c renamed filesYang Tse2013-01-031-2/+2
| | | | | | 93 *.c source files renamed to use our standard naming scheme. This change affects 77 files in libcurl's source tree.
* 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.
* test suite: libtest header inclusion cleanupYang Tse2011-09-061-6/+1
| | | | | 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.
* 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
|
* removed trailing whitespaceYang Tse2010-02-141-4/+4
|
* Addes OOM handling for curl_easy_setopt() calls in testYang Tse2010-02-051-2/+4
|
* include "memdebug.h"Yang Tse2008-09-201-0/+2
|
* Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich2008-05-221-1/+1
| | | | libtest code.
* Don't abort tests 518 and 537 when unable to raise the open-file soft limitYang Tse2008-01-171-1/+16
|
* Fix missing right parenthesisYang Tse2007-09-301-1/+1
|
* Fix comparison between signed and unsignedYang Tse2007-09-301-1/+2
|
* unify fopen() failure error message among tests, allowingYang Tse2007-04-051-1/+2
| | | | the testsuite to count them as errors of the same kind
* add debug message and expand commentYang Tse2007-04-041-2/+11
|
* test can be allowed to run if fopen() is capable of fopen()ingYang Tse2007-04-041-4/+4
| | | | | three additional files once that we have already open()ed the big bunch of file descriptors.
* cleanupYang Tse2007-04-041-1/+0
|
* test can be allowed to run if fopen() is capable of fopen()ingYang Tse2007-04-041-19/+20
| | | | | SAFETY_MARGIN additional files once that we have already open()ed the big bunch of file descriptors.
* Verify if the test is limited by an ancient stdio with a 256Yang Tse2007-04-031-0/+35
| | | | | | open file limit. In this case the test is skipped with a message showing this limitation when the number of open files needed for the test is greater than 256.
* use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse2007-02-161-20/+6
|
* when using select() instead of poll, skip the test if the number ofYang Tse2007-01-311-9/+24
| | | | | | open file descriptors is greater than FD_SETSIZE minus SAFETY_MARGIN, also skip the test if any of the open file descriptors has a number greater than FD_SETSIZE minus SAFETY_MARGIN.
* skip test on platforms on which we use select() insteadYang Tse2007-01-301-0/+27
| | | | of poll() and select() happens to be bound by FD_SETSIZE
* Compiler warning fixYang Tse2007-01-281-1/+1
|
* add a couple more of debugging messagesYang Tse2006-11-031-0/+9
|
* reduce max size of dinamically allocated arrays to minimize the nastyYang Tse2006-11-031-4/+16
| | | | | behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer
* fix comments and renumber rlimit return codesYang Tse2006-11-031-7/+9
|
* update and split test cases 518 and 537 into its own source code fileYang Tse2006-11-021-164/+47
|
* code cleanupYang Tse2006-11-021-62/+33
|
* use our internal string functions and replace sprintf with snprintfYang Tse2006-11-021-19/+20
|
* check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.hYang Tse2006-11-021-1/+1
|
* test 518 is all about testing libcurl functionalityYang Tse2006-11-011-55/+270
| | | | | | | | | | | | when more than FD_SETSIZE file descriptors are open. This means that if for any reason we are not able to open more than FD_SETSIZE file descriptors then test 518 should not be run. test 537 is all about testing libcurl functionality when the system has nearly exhausted the number of free file descriptors. Test 537 will try to run with very few free file descriptors.
* Sync comment with code and add three messages moreYang Tse2006-10-311-2/+7
|
* Address some pitfalls in the rlimit() function check that wereYang Tse2006-10-301-69/+145
| | | | preventing execution of this test on many platforms
* Improved rlimit logic:Yang Tse2006-10-261-21/+95
| | | | | | | - Take in account RLIM_INFINITY. - Verify that soft limit is actually changed when doing so. - Show errno in case getrlimit or setrlimit fails. - Keep file descriptors open only while runing this test.
* Add project notice and file IdYang Tse2006-10-251-0/+10
|
* Use curl_global_init() and curl_global_cleanup().Yang Tse2006-10-251-3/+30
| | | | Improve cleanup in case of initialization failure.
* Remove redundant __CYGWIN__ symbol checkYang Tse2006-10-111-1/+1
|
* Cygwin preprocessor adjustmentsYang Tse2006-09-121-1/+1
|
* make the "check" actually open all those file desciptors as well to make sureDaniel Stenberg2004-12-011-24/+25
| | | | | it works, as it has proved to not work in some cases (like on Tor Arntsen's AIX 5100-06 xlc 5.0 --disable-shared runs).
* add more info to the stderr outputDaniel Stenberg2004-11-281-1/+6
|
* introducing the client/precheck concept to allow test 518 to *only* run whenDaniel Stenberg2004-11-231-12/+28
| | | | it actually can run and test the FD_SETSIZE stuff it is meant to test
* David Phillips fix for test 518 and my extension to make it not run onDaniel Stenberg2004-11-221-6/+63
| | | | systems that can't run it fine.
* ifdef for portable "/dev/null".Gisle Vanem2004-11-191-2/+8
|
* David Phillips' FD_SETSIZE fixDaniel Stenberg2004-11-191-0/+47