Because on my XPS coredumps take away all the CPU, leading to a test timeout.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
#include <config.h>
+#include <sys/resource.h>
+#include <sys/time.h>
#include <check.h>
#include <signal.h>
int
main (int argc, char **argv)
{
+ const struct rlimit corelimit = { 0, 0 };
int nfailed;
Suite *s;
SRunner *sr;
if (RUNNING_ON_VALGRIND)
return 77;
+ if (setrlimit(RLIMIT_CORE, &corelimit) != 0)
+ perror("WARNING: Core dumps not disabled");
+
s = litest_assert_macros_suite();
sr = srunner_create(s);