diff options
Diffstat (limited to 'tests/syslog_test.c')
-rw-r--r-- | tests/syslog_test.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/syslog_test.c b/tests/syslog_test.c deleted file mode 100644 index fb4c691..0000000 --- a/tests/syslog_test.c +++ /dev/null @@ -1,19 +0,0 @@ -#include <syslog.h> - -int do_log(char* msg, int delay) -{ - openlog("testlog", LOG_PID, LOG_DAEMON); - while(1) { - syslog(LOG_ERR, "%s: testing one, two, three\n", msg); - sleep(delay); - } - closelog(); - return(0); -}; - -int main(void) -{ - if (fork()==0) - do_log("A", 2); - do_log("B", 3); -} |