Commit Graph

69 Commits

Author SHA1 Message Date
Vsevolod Stakhov
3a352c08a1 Merge pull request #775 from fatalbanana/multimap
Allow for matching hostnames in multimap (#773)
2016-08-01 10:34:58 +01:00
Vsevolod Stakhov
7564fb9970 [Feature] Check UTF validity when there are utf regexps in a map 2016-08-01 10:21:16 +01:00
Andrew Lewis
0a4f412a17 [Test] Add test for hostname map 2016-07-31 17:26:49 +02:00
Andrew Lewis
bd925cbcbe [Test] Some minor fixes for tests 2016-07-31 16:02:42 +02:00
Vsevolod Stakhov
7788d8eb1d [Test] Add a simple multimap utf test 2016-07-31 12:44:58 +01:00
Vsevolod Stakhov
0ce4ffeb9f Merge pull request #771 from fatalbanana/fun
[Test] Help rspamd find fun.lua
2016-07-29 16:28:57 +01:00
Andrew Lewis
b1b88ddee1 [Test] Help rspamd find fun.lua 2016-07-29 16:05:56 +01:00
Andrew Lewis
cb3a3c9050 [Test] Some minor fixes & improvements for tests
- Also machine-format test data again
2016-07-29 15:17:19 +01:00
Vsevolod Stakhov
6ccd44320e [Feature] Allow maps with multiple symbols and scores 2016-07-29 13:44:08 +01:00
Vsevolod Stakhov
0ea6d39d57 [Test] Add tests for controller passwords 2016-07-28 18:35:09 +01:00
Vsevolod Stakhov
1bd6eb011a [Feature] Implement dependencies for maps
Issue: #765
2016-07-28 17:20:50 +01:00
Vsevolod Stakhov
398332ccb2 [Test] Add more tests for multimap module 2016-07-28 17:20:50 +01:00
Vsevolod Stakhov
1cce1f1e6d Merge pull request #767 from fatalbanana/robot
[Test] Fix paths
2016-07-28 15:22:28 +01:00
Vsevolod Stakhov
627f05a829 [Test] Add multimap test 2016-07-28 15:20:38 +01:00
Vsevolod Stakhov
b871a1e133 [Fix] Fix paths in tests 2016-07-28 15:20:17 +01:00
Vsevolod Stakhov
d4bab2f70a [Test] Reorder tests 2016-07-28 13:57:55 +01:00
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