summaryrefslogtreecommitdiffstats
path: root/lib/ccan/failtest
Commit message (Collapse)AuthorAgeFilesLines
* ccan: Cast getpid() result to unsigned int for GNU/Solaris buildAndrew Bartlett2013-03-151-4/+4
| | | | Reviewed-by: Jeremy Allison <jra@samba.org>
* lib/ccan: Fix format string errors found by -Werror=format in ccan failtestAndrew Bartlett2012-07-301-2/+2
|
* ccan: remove bogus debug print.Rusty Russell2012-06-191-1/+0
| | | | | Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: make failtest use ccan/err.Rusty Russell2012-06-092-1/+2
| | | | | | As per CCAN commit 48b700953f9c856102e91596103238f5da9ea079. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* ccan: Fix failtest on Fedora 16 as stdlib.h does not imply malloc.hAndrew Bartlett2012-04-111-0/+4
| | | | | | | | The issue is that there are two different sources of the malloc prototype, and they both need to be included otherwise the failtest overrides chokes on the headers. Andrew Bartlett
* lib/ccan/failtest: compile fix for OpenBSDRusty Russell2012-03-223-0/+17
| | | | | | | | | | | OpenBSD doesn't idempotent-wrap sys/mman.h, so when we #define mmap to an alternative, it fails to compile when sys/mman.h is included again. Workaround is not to #define mmap to add arguments on Open BSD. (Imported from CCAN commit e18e80fe175422d26efe689addc0f67bdba0e097) Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* lib/ccan: namespacize ccan/list to avoid conflict with OpenIndiana's sys/list.hRusty Russell2012-03-222-1/+2
| | | | | | | | | CCAN includes a little utility called "namespacize" which prepends ccan_ to all public methods of a module, and fixes up any dependencies it finds. It's a little primitive, but it works here. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* failtest: don't assume FD_SETSIZE is maximum runtime fd.Rusty Russell2012-03-083-3/+68
| | | | | | | | | | | | | 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
* lib/ccan: import failtest and required ccan modules for TDB2 unit tests.Rusty Russell2012-03-0714-0/+3038
New modules: failtest, list, time, read_write_all and tlist. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>