Vsevolod Stakhov
f75769f242
[Minor] Fix tests
hace 5 años
Mikhail Galanin
99b68e8e51
[Test] Pass test-case patten into test engine
So that now we can set which test cases should be runned:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua -c "case .* rcpts"
$ ./test/rspamd-test -p /rspamd/lua -c "case 1st rcpts"
-c accepts Lua-pattern
hace 5 años
Mikhail Galanin
57d19346b6
[Test] Added key to run specifig lua-test
example:
$ ./test/rspamd-test -p /rspamd/lua -t selectors.lua
no way to run two test suites atm
hace 5 años
Mikhail Galanin
dedc18fecc
[Test] Init URL parser before running unit tests
hace 5 años
Mikhail Galanin
5dd0a6b7fb
[Minor] Benchmark for lua calls
hace 5 años
Vsevolod Stakhov
25ef6b9821
[Project] Rework rspamadm and Lua init path
hace 6 años
Vsevolod Stakhov
1d3e32fe02
[Test] Improve URL unit tests
hace 6 años
Vsevolod Stakhov
f22e29d1bf
[Test] Add tests, fix normalization algorithm
hace 7 años
Vsevolod Stakhov
747f2839b0
[Feature] Add mime tool to explore messages
hace 7 años
Vsevolod Stakhov
f3d15b0d92
[Test] Disable broken tests
hace 8 años
Vsevolod Stakhov
3789f106c1
[Feature] Add unit tests for heap
hace 8 años
Vsevolod Stakhov
0e7f9f3d46
Store event base in statistics library
hace 8 años
Vsevolod Stakhov
c3896936f5
Fix tests
hace 8 años
Vsevolod Stakhov
eb737947eb
Reorganize includes to reduce namespace pollution.
hace 8 años
Vsevolod Stakhov
3afc4aba24
Rename main.h and main.c to `rspamd.X`
hace 8 años
Vsevolod Stakhov
b05c7c9edd
Add tags to rspamd_mempool.
hace 9 años
Vsevolod Stakhov
ab15b9a3c9
Remove legacy fuzzy code completely.
hace 9 años
Vsevolod Stakhov
7eadc580cf
Fix unit test building and starting.
hace 9 años
Vsevolod Stakhov
045971cbb8
Add unit test for cryptobox.
hace 9 años
Vsevolod Stakhov
92ba37c087
Fix tests build.
hace 9 años
Vsevolod Stakhov
30cdb0547e
Remove deprecated test.
hace 9 años
Vsevolod Stakhov
20df05fe8d
Initialize regexp library.
hace 9 años
Vsevolod Stakhov
e4cc017c5d
Rework lua tests one more time.
hace 9 años
Vsevolod Stakhov
0c5dfb9541
Rework lua tests structure, require external busted.
hace 9 años
Vsevolod Stakhov
2f20e4f7fe
Add lua test framework.
hace 9 años
Vsevolod Stakhov
984c43f649
Add HTTP connections speed test.
hace 9 años
Vsevolod Stakhov
7404cdceee
Add some tests for shingles.
hace 9 años
Vsevolod Stakhov
d2150fc165
Refactor function names.
hace 9 años
Vsevolod Stakhov
89442fca48
Add a simple upstreams test.
hace 9 años
Vsevolod Stakhov
40e2310e65
Add cleanup.
hace 9 años
Vsevolod Stakhov
e4846184c2
Rework radix tests.
hace 9 años
Vsevolod Stakhov
aa48f9df19
Add radix trie test suite.
hace 9 años
Vsevolod Stakhov
491e42b434
Restore testing framework.
hace 9 años
Vsevolod Stakhov
d6643f35d7
Refactor config API.
hace 10 años
Vsevolod Stakhov
ad837700b8
Refactor memory pool naming.
hace 10 años
Vsevolod Stakhov
5607e21b22
Improve test suite by using standard glib test options.
hace 11 años
Vsevolod Stakhov
07011527b9
Add a test suite for rcl.
hace 11 años
Vsevolod Stakhov
fbcc7af8a6
* Add simple test for rrd.
Several fixes to RRD API.
TODO: fix test building
TODO: improve update of rrd files
TODO: rework shared libraries again
hace 11 años
Vsevolod Stakhov
851ffca79a
* Write tests for DKIM signature and key parsers.
Fix DKIM parsers.
hace 12 años
Vsevolod Stakhov
448ba92d15
Fixed threading for testing suite.
hace 12 años
Vsevolod Stakhov
4f28edb3f5
Fix asynchronous IO API.
Write test case for aio.
hace 12 años
Vsevolod Stakhov
9d70356009
Separate librspamdserver API from plugins and workers functions.
Make tests compileable again.
hace 12 años
Vsevolod Stakhov
1fd435e5d4
* Rework build process:
- add librspamdserver
- link this library to all daemons and utils of rspamd
- use subdirectories more often
* Rework global variables logic - move them to the main process
* Fix logging to handle utf-8 correctly
* Add statshow utility and make it working
* Move printf functions to separate source file
hace 13 años
Vsevolod Stakhov
3d1c40c972
* 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
hace 14 años
Vsevolod Stakhov
a0f41f7c57
* New system of classifiers interface and statfiles processing
* Fix sample config
* Fix compile warnings
* Fix building without lua support
* Fix bugs with nrcpt header parsing and symbols cache loading (by Anton Nekhoroshikh)
hace 15 años
Vsevolod Stakhov
05556b30f9
* Add counters for rspamd symbols
* Fix shared hashes
hace 15 años
Vsevolod Stakhov
afdaddc4d0
* Add fuzzy hashes implementation (with adler-32 roll hash and FNV-32 hash)
* Add test case for fuzzy hashing check
hace 15 años
Vsevolod Stakhov
06661f20cb
* Write functions to operate blocks in stat files
* Write test case for statistics files API
hace 15 años
Vsevolod Stakhov
2aa9c74f1c
* Reorganize structure of source files
* Adopt build system for new structure
--HG--
rename : cfg_file.h => src/cfg_file.h
rename : cfg_file.l => src/cfg_file.l
rename : cfg_file.y => src/cfg_file.y
rename : cfg_utils.c => src/cfg_utils.c
rename : controller.c => src/controller.c
rename : filter.c => src/filter.c
rename : filter.h => src/filter.h
rename : fstring.c => src/fstring.c
rename : fstring.h => src/fstring.h
rename : main.c => src/main.c
rename : main.h => src/main.h
rename : mem_pool.c => src/mem_pool.c
rename : mem_pool.h => src/mem_pool.h
rename : memcached-test.c => src/memcached-test.c
rename : memcached.c => src/memcached.c
rename : memcached.h => src/memcached.h
rename : perl.c => src/perl.c
rename : perl.h => src/perl.h
rename : plugins/regexp.c => src/plugins/regexp.c
rename : plugins/surbl.c => src/plugins/surbl.c
rename : protocol.c => src/protocol.c
rename : protocol.h => src/protocol.h
rename : upstream.c => src/upstream.c
rename : upstream.h => src/upstream.h
rename : url.c => src/url.c
rename : url.h => src/url.h
rename : util.c => src/util.c
rename : util.h => src/util.h
rename : worker.c => src/worker.c
hace 15 años
cebka@cebka-laptop
da93e9d635
* Implement expression parser (convertor to inverse polish record)
* Improve configure system by implementing dependencies
* Add .depend files for subdirs that requre it
* Write simple test for expressions parser
hace 15 años