aboutsummaryrefslogtreecommitdiffstats
path: root/test/rspamd_statfile_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-08 20:07:07 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-08 20:07:07 +0400
commit3d1c40c972d68623f88875ec03ae7c8bafbadad5 (patch)
tree75a34069f368ebb52b47e8c3f605dcde1de3e9cd /test/rspamd_statfile_test.c
parent75bf13b9bda0d1eb98671b68064becd4f6946c14 (diff)
downloadrspamd-3d1c40c972d68623f88875ec03ae7c8bafbadad5.tar.gz
rspamd-3d1c40c972d68623f88875ec03ae7c8bafbadad5.zip
* Make DNS resolver working
* Many improvements to rspamd test suite: now it CAN be used for testing rspamd functionality * Write DNS resolver tests * Fix issues with memory_pool mutexes and with creating of statfiles
Diffstat (limited to 'test/rspamd_statfile_test.c')
-rw-r--r--test/rspamd_statfile_test.c17
1 files changed, 1 insertions, 16 deletions
diff --git a/test/rspamd_statfile_test.c b/test/rspamd_statfile_test.c
index 9618874ba..2ada1836e 100644
--- a/test/rspamd_statfile_test.c
+++ b/test/rspamd_statfile_test.c
@@ -1,25 +1,10 @@
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/wait.h>
-#include <sys/param.h>
-#include <sys/stat.h>
-
-#include <netinet/in.h>
-#include <arpa/inet.h>
-#include <netdb.h>
-#include <syslog.h>
-#include <fcntl.h>
-#include <stdlib.h>
-#include <string.h>
-#include <stdio.h>
-
#include "../src/config.h"
#include "../src/main.h"
#include "../src/statfile.h"
#include "tests.h"
#define TEST_FILENAME "/tmp/rspamd_test.stat"
-#define HASHES_NUM 1024
+#define HASHES_NUM 256
void
rspamd_statfile_test_func ()