summaryrefslogtreecommitdiff
path: root/lib/ccan/failtest/_info
diff options
context:
space:
mode:
authorRusty Russell <rusty@rustcorp.com.au>2012-03-08 14:14:22 +1030
committerRusty Russell <rusty@rustcorp.com.au>2012-03-08 06:30:48 +0100
commitb442e375256d93637b38f997a78e330ba4774c43 (patch)
treeb7cde6a93748b146c98410edcb5ac4c35ffffd70 /lib/ccan/failtest/_info
parent256e2df9dc147b6d98afb4fa2ccdf5f65eaef30c (diff)
downloadsamba-b442e375256d93637b38f997a78e330ba4774c43.tar.gz
samba-b442e375256d93637b38f997a78e330ba4774c43.tar.bz2
samba-b442e375256d93637b38f997a78e330ba4774c43.zip
failtest: don't assume FD_SETSIZE is maximum runtime fd.
This breaks when rlimit is less. Unfortunately, valgrind (32 bit x86, 3.7.0.SVN, Ubuntu) fails to set the file limit properly on the test: reducing it to the obvious getrlimit/setrlimit/getrlimit works fine, so leaving diagnostics for another day. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (Imported from CCAN commit a85a809bb17af6b6cf6fa31b300c6622f64ee700) Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Thu Mar 8 06:30:48 CET 2012 on sn-devel-104
Diffstat (limited to 'lib/ccan/failtest/_info')
-rw-r--r--lib/ccan/failtest/_info3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ccan/failtest/_info b/lib/ccan/failtest/_info
index 14dcb783be..4a5b97c931 100644
--- a/lib/ccan/failtest/_info
+++ b/lib/ccan/failtest/_info
@@ -54,6 +54,9 @@
*
* License: LGPL
* Author: Rusty Russell <rusty@rustcorp.com.au>
+ * Ccanlint:
+ * // valgrind seems to mess up rlimit.
+ * tests_pass_valgrind test/run-with-fdlimit.c:FAIL
*/
int main(int argc, char *argv[])
{