aboutsummaryrefslogtreecommitdiff
path: root/tests/libtest/lib518.c
AgeCommit message (Collapse)Author
2012-12-28build: make use of 76 lib/*.h renamed filesYang Tse
76 private header files renamed to use our standard naming scheme. This change affects 322 files in libcurl's source tree.
2011-09-06test suite: libtest header inclusion cleanupYang Tse
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.
2011-03-10sources: update source headersDaniel Stenberg
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.
2010-03-24remove the CVSish $Id$ linesDaniel Stenberg
2010-02-14removed trailing whitespaceYang Tse
2010-02-05Addes OOM handling for curl_easy_setopt() calls in testYang Tse
2008-09-20include "memdebug.h"Yang Tse
2008-05-22Made sure to pass longs in to curl_easy_setopt where necessary in theDan Fandrich
libtest code.
2008-01-17Don't abort tests 518 and 537 when unable to raise the open-file soft limitYang Tse
2007-09-30Fix missing right parenthesisYang Tse
2007-09-30Fix comparison between signed and unsignedYang Tse
2007-04-05unify fopen() failure error message among tests, allowingYang Tse
the testsuite to count them as errors of the same kind
2007-04-04add debug message and expand commentYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
three additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-04cleanupYang Tse
2007-04-04test can be allowed to run if fopen() is capable of fopen()ingYang Tse
SAFETY_MARGIN additional files once that we have already open()ed the big bunch of file descriptors.
2007-04-03Verify if the test is limited by an ancient stdio with a 256Yang Tse
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.
2007-02-16use macros ERRNO, SET_ERRNO(), SOCKERRNO and SET_SOCKERRNO() for errno handlingYang Tse
2007-01-31when using select() instead of poll, skip the test if the number ofYang Tse
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.
2007-01-30skip test on platforms on which we use select() insteadYang Tse
of poll() and select() happens to be bound by FD_SETSIZE
2007-01-28Compiler warning fixYang Tse
2006-11-03add a couple more of debugging messagesYang Tse
2006-11-03reduce max size of dinamically allocated arrays to minimize the nastyYang Tse
behaviour some versions of IRIX exhibit of committing suicide on big mallocs instead of just returning a friendly null pointer
2006-11-03fix comments and renumber rlimit return codesYang Tse
2006-11-02update and split test cases 518 and 537 into its own source code fileYang Tse
2006-11-02code cleanupYang Tse
2006-11-02use our internal string functions and replace sprintf with snprintfYang Tse
2006-11-02check symbol HAVE_UNISTD_H instead of UNISTD_H to include unistd.hYang Tse
2006-11-01test 518 is all about testing libcurl functionalityYang Tse
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.
2006-10-31Sync comment with code and add three messages moreYang Tse
2006-10-30Address some pitfalls in the rlimit() function check that wereYang Tse
preventing execution of this test on many platforms
2006-10-26Improved rlimit logic:Yang Tse
- 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.
2006-10-25Add project notice and file IdYang Tse
2006-10-25Use curl_global_init() and curl_global_cleanup().Yang Tse
Improve cleanup in case of initialization failure.
2006-10-11Remove redundant __CYGWIN__ symbol checkYang Tse
2006-09-12Cygwin preprocessor adjustmentsYang Tse
2004-12-01make the "check" actually open all those file desciptors as well to make sureDaniel Stenberg
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).
2004-11-28add more info to the stderr outputDaniel Stenberg
2004-11-23introducing the client/precheck concept to allow test 518 to *only* run whenDaniel Stenberg
it actually can run and test the FD_SETSIZE stuff it is meant to test
2004-11-22David Phillips fix for test 518 and my extension to make it not run onDaniel Stenberg
systems that can't run it fine.
2004-11-19ifdef for portable "/dev/null".Gisle Vanem
2004-11-19David Phillips' FD_SETSIZE fixDaniel Stenberg