Commit Graph

453 Commits

Author SHA1 Message Date
Vsevolod Stakhov
d7ea09ea1f [Test] Fix rspamc invocation to support arguments passing 2016-07-28 13:57:33 +01:00
Andrew Lewis
550442648d [Test] Fix paths 2016-07-28 13:39:47 +01:00
Vsevolod Stakhov
f42d44cc22 [Test] Rework tests framework to run in a custom environment 2016-07-28 13:12:36 +01:00
Andrew Lewis
da9555606f [Test] Try harder to kill rspamd + child processes to avoid cascading failures 2016-07-25 17:44:17 +01:00
Vsevolod Stakhov
c9733c1686 Merge pull request #743 from fatalbanana/fuzzy-test
[Test] Set fuzzy worker count to 1
2016-07-22 22:46:34 +01:00
Andrew Lewis
68c886e278 [Test] Set fuzzy worker count to 1 2016-07-22 17:30:54 +01:00
Andrew Lewis
f133174add [Test] Add test for legacy RSPAMC protocol 2016-07-22 10:15:31 +01:00
Andrew Lewis
9c9f9be0eb [Test] Sleep after calling rspamadm fuzzy_sync 2016-07-21 16:42:03 +01:00
Andrew Lewis
ae2dd89408 [Test] Fix braindamaged shutdown_process function 2016-07-21 14:44:13 +01:00
Andrew Lewis
29bf08b789 [Test] Don't insist on return code != 0 for broken stats test 2016-07-21 13:00:20 +01:00
Andrew Lewis
23488b177f [Test] Fix race conditions in functional tests 2016-07-21 12:19:58 +01:00
Andrew Lewis
749e79a8cd [Fix] Partial fix for mmap'd statistics tests 2016-07-20 09:29:05 +01:00
Andrew Lewis
e6ff4143d5 [Test] Integrate functional tests with Travis CI 2016-07-18 16:50:04 +01:00
Andrew Lewis
772f47cfe0 [Test] Fix scan file test 2016-07-17 21:17:48 +01:00
Andrew Lewis
fe12f74d95 [Test] Fix double bad extension test 2016-07-17 21:07:23 +01:00
Andrew Lewis
d5c2f00bf9 [Test] Add test for pre & post filters 2016-07-17 21:06:31 +01:00
Andrew Lewis
f0349d47ad [Test] Some basic functional tests for mime_types module & archives
- Also some new features for Check Rspamc function
 - Run rspamd/rspamc with LD_LIBRARY_PATH
2016-07-10 13:39:33 +02:00
Andrew Lewis
ad797afed5 [Test] Add & rework functional tests
- Machine formatted test data
 - More idiomatic use of test framework
 - Added tests for fuzzy & redis statistics
2016-07-02 18:36:15 +02:00
Andrew Lewis
e3a301a85d [Test] Fix Python3 compatibility 2016-06-29 18:01:26 +02:00
Andrew Lewis
883800f391 [Test] Add generic rspamc result processor 2016-06-29 18:01:15 +02:00
Andrew Lewis
e8a7a63279 [Test] New functional test framework 2016-06-27 23:27:26 +02:00
Vsevolod Stakhov
665971625a Minor fixes to settings. 2015-10-15 22:26:01 +01:00
Vsevolod Stakhov
3518e0293d Fix functional tests. 2015-10-15 15:11:53 +01:00
Vsevolod Stakhov
2f0242ea7e Fix scan file functional test. 2015-10-07 17:17:02 +01:00
Vsevolod Stakhov
70f966f3b0 Add functional test for task flags API. 2015-09-25 15:59:56 +01:00
Vsevolod Stakhov
082cd207c1 Allow quoted filenames in scan input. 2015-08-05 22:38:03 +01:00
Vsevolod Stakhov
93c21c9d66 Some more fixes to sqlite backend. 2015-07-27 17:11:12 +01:00
Vsevolod Stakhov
913234f193 Add config test stage to run_rspamd function. 2015-07-20 13:22:43 +01:00
Vsevolod Stakhov
fcbb632de4 Add reload test case. 2015-07-20 12:58:52 +01:00
Vsevolod Stakhov
b7b184bb90 Add url encoded tests. 2015-07-11 22:05:14 +01:00
Vsevolod Stakhov
3ff2ccae3d Allow query parameters for files. 2015-07-11 21:58:32 +01:00
Vsevolod Stakhov
c24c45386f Add a simple functional test for scanning a file. 2015-07-10 17:40:58 +01:00
Vsevolod Stakhov
09f2ef070f Remove google DNS from tests. 2015-07-10 15:41:03 +01:00
Vsevolod Stakhov
48eb233fbc Save log files on test errors completely. 2015-07-10 15:26:46 +01:00
Vsevolod Stakhov
aac27905de Use standard functions definitions. 2015-07-09 15:11:49 +01:00
Vsevolod Stakhov
a88cb1b54f Fix issues in the tests. 2015-07-09 15:02:09 +01:00
Vsevolod Stakhov
c20631bd67 Adopt build system for new tests. 2015-07-09 14:45:48 +01:00
Vsevolod Stakhov
864de26de1 Remove bats tests. 2015-07-09 14:41:28 +01:00
Vsevolod Stakhov
ac55cd6afb New functional tests approach. 2015-07-09 14:40:36 +01:00
Vsevolod Stakhov
cf5959a87b Add tests for xxhash and siphash. 2015-07-08 17:30:56 +01:00
Vsevolod Stakhov
9db170cc0c Add sqlite3 backend testing. 2015-07-08 17:28:30 +01:00
Vsevolod Stakhov
ee3f091612 Add functional test for #331. 2015-07-08 16:52:00 +01:00
Vsevolod Stakhov
d32a7cf4ca Use more UCL vars for tests. 2015-07-08 16:32:12 +01:00
Vsevolod Stakhov
5f593737d5 Improve functional tests teardown. 2015-07-08 14:44:36 +01:00
Vsevolod Stakhov
de12aa88fb Add test for empty part learning. 2015-07-07 11:00:02 +01:00
Vsevolod Stakhov
4355ecf626 Add dependencies test. 2015-07-07 09:47:50 +01:00
Vsevolod Stakhov
61d68ce55e Use BATS_TMPDIR instead of '/tmp' for tests. 2015-07-07 08:10:51 +01:00
Vsevolod Stakhov
ecdc74fd85 Add learning functional tests. 2015-07-06 20:12:56 +01:00
Vsevolod Stakhov
6f6a371987 Add encryption test. 2015-07-02 19:11:18 +01:00
Vsevolod Stakhov
98a46bf694 Store rspamd log permanently for functional tests. 2015-07-02 19:08:01 +01:00
Vsevolod Stakhov
67bb533e89 Add functional test for spamc protocol. 2015-07-02 19:02:39 +01:00
Vsevolod Stakhov
8d586a8cc1 Add streamline HTTP test (failing for now). 2015-07-02 18:54:16 +01:00
Vsevolod Stakhov
f20d566909 Start functional tests. 2015-07-02 17:05:17 +01:00