From 6c153d8e8e2e8bbdb16110fb45f3758ca257b562 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 29 Jun 2012 16:34:54 +0200 Subject: [PATCH] Added check_random plugin. --- check_random/check_random.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 check_random/check_random.c diff --git a/check_random/check_random.c b/check_random/check_random.c new file mode 100644 index 000000000..26fdb5aca --- /dev/null +++ b/check_random/check_random.c @@ -0,0 +1,10 @@ +#include + +int main(int argc, char **argv) +{ + printf("check_random | test=1\n"); + + srand(getpid()); + + return rand() % 4; +}