diff options
Diffstat (limited to 'include/tests.h')
-rw-r--r-- | include/tests.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tests.h b/include/tests.h index 79e1575..ed2b409 100644 --- a/include/tests.h +++ b/include/tests.h | |||
@@ -50,4 +50,6 @@ struct testsuite { | |||
50 | 50 | ||
51 | #define TESTCASE(function, plugins, description) void test_ ## function (void) | 51 | #define TESTCASE(function, plugins, description) void test_ ## function (void) |
52 | 52 | ||
53 | #define FORK_TASK(code) ({int __pid = fork(); if (__pid == 0) {code; exit(0);}; __pid;}) | ||
54 | |||
53 | #endif | 55 | #endif |