projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
MErge Trond
[awesomized/libmemcached]
/
tests
/
test.c
diff --git
a/tests/test.c
b/tests/test.c
index 920ffe5f8f5b1836ee860c8c885d3a0755c66e02..7480d29d5798068b0c8a511361bed0b840010d62 100644
(file)
--- a/
tests/test.c
+++ b/
tests/test.c
@@
-44,6
+44,12
@@
static const char *test_strerror(test_return_t code)
}
+void create_core(void)
+{
+ if (getenv("LIBMEMCACHED_NO_COREDUMP") == NULL && fork() == 0)
+ abort();
+}
+
int main(int argc, char *argv[])
{
test_return_t failed;