Andrew Lewis
c07a20097f
[Test] Check controller's error buffer
2017-06-01 16:36:51 +02:00
Andrew Lewis
e7c48b947f
[Test] Phishing
2017-05-26 14:04:05 +02:00
Andrew Lewis
3c1cad1ced
[Minor] Fix previous commit
2017-05-19 14:22:41 +02:00
Andrew Lewis
8976d8ff4e
[Minor] Fix tests
2017-05-19 14:07:59 +02:00
Andrew Lewis
93a5203173
[Minor] Add timeouts to dummy socket servers
2017-05-19 13:07:21 +02:00
Vsevolod Stakhov
82c3c3a5ef
[Minor] Fix tests
2017-05-19 11:00:22 +01:00
Andrew Lewis
d814a76a7c
[Minor] Fix test
2017-05-15 12:58:01 +02:00
Andrew Lewis
7b0d411739
[Test] Multimap: Received IP filters with Redis
2017-05-09 14:20:39 +02:00
Andrew Lewis
734d16e1f4
[Test] Test dkim_signing with redis
2017-05-09 12:56:34 +02:00
Andrew Lewis
1ca24ef406
[Test] Some tests for settings
2017-04-26 16:35:20 +02:00
Andrew Lewis
dfd336d4e9
[Test] Test option order
2017-03-23 13:07:38 +02:00
Andrew Lewis
83b5732cda
[Test] Test rspamadm confighelp
doesn't yield an error
2017-03-14 16:04:00 +02:00
Andrew Lewis
6bd2691f9c
[Test] Fix F-Prot/ClamAV test stability
2017-03-10 16:23:23 +02:00
Andrew Lewis
14223b81a9
[Test] Basic tests for DKIM signing module
2017-03-06 18:41:34 +02:00
Andrew Lewis
b88b679dd7
[Test] Some tests for antivirus module
2017-03-06 16:45:21 +02:00
Andrew Lewis
eaa7e99d39
[Test] Test URL tag persistence
2017-02-28 15:33:25 +02:00
Andrew Lewis
a2e7253038
[Test] Test map key values
2017-02-27 18:11:44 +02:00
Andrew Lewis
b031412b16
[Test] Add tests for multimap received maps
2017-02-13 18:33:17 +02:00
Andrew Lewis
6e75ceff2f
[Minor] Fix tests
2017-02-10 16:31:56 +02:00
Andrew Lewis
3205e92fb8
[Test] Additional tests for multimap
2017-02-10 15:53:19 +02:00
Andrew Lewis
e9230a0211
[Test] Fix tests
2017-01-11 16:20:47 +02:00
Andrew Lewis
f9a95289d5
[Minor] Avoid reusing GError
2016-12-30 16:19:34 +02:00
Andrew Lewis
77c4f85c9e
[Test] Improve SpamAssassin dependencies tests
2016-12-01 16:21:48 +02:00
Andrew Lewis
e217a37d76
[Minor] Trim whitespace
2016-11-18 20:06:22 +02:00
Andrew Lewis
e42c3953ab
[Test] Some basic tests for hashes in Lua
2016-11-18 11:59:32 +02:00
Andrew Lewis
3a303cdda9
[Test] Integrate luacheck into test suite
2016-11-17 13:56:31 +02:00
Andrew Lewis
da83f5296a
[Minor] Lint rspamadm & test suite scripts
2016-11-15 17:30:39 +02:00
Andrew Lewis
98fece257a
[Test] Enable Redis shingles test
2016-11-07 09:14:13 +02:00
Andrew Lewis
e08efcba4a
[Test] Add tests for Redis fuzzy backend and fix fuzzy fuzzy test
2016-11-04 11:32:04 +02:00
Andrew Lewis
36d11e2e6f
[Minor] Get rid of some global variables
...
- Also fix some bugs along the way
2016-11-01 13:33:56 +02:00
Andrew Lewis
f60059e314
[Test] Try improve reliability of fuzzy tests
2016-10-26 09:23:34 +02:00
Andrew Lewis
145ca18232
[Test] Increase DNS retransmits
2016-10-20 12:31:27 +02:00
Andrew Lewis
edcc2ad4e1
[Test] Add map reload test
2016-10-19 18:04:01 +02:00
Vsevolod Stakhov
f4acd9ba6f
Merge pull request #1044 from fatalbanana/ports
...
[Test] Wait for ports to be confirmed-free inbetween runs
2016-10-17 16:45:51 +01:00
Andrew Lewis
b4173ec515
[Test] Wait for ports to be confirmed-free inbetween runs
2016-10-17 14:37:58 +02:00
Andrew Lewis
b92c0cd6bf
[Test] Fix password tests post-changes
2016-10-17 12:06:23 +02:00
Vsevolod Stakhov
5b116694ef
Merge pull request #1031 from fatalbanana/test
...
[Test] Wait until size of PIDfiles is > 0
2016-10-14 14:41:41 +01:00
Andrew Lewis
e917569079
[Test] Wait until size of PIDfiles is > 0
2016-10-14 15:39:34 +02:00
Vsevolod Stakhov
551fa5f1b2
Merge pull request #1028 from fatalbanana/fuzzy
...
Test for fuzzy replication
2016-10-14 14:12:51 +01:00
Andrew Lewis
50ef6c7161
[Test] Try improve test stability
2016-10-14 15:08:18 +02:00
Andrew Lewis
f738c01a45
[Test] Test fuzzy replication
2016-10-13 19:19:24 +02:00
Andrew Lewis
07ce6c516a
[Test] More testcases for SPF
2016-10-06 11:19:11 +02:00
Andrew Lewis
6069b96370
[Test] Add some missing testcases for DKIM/DMARC
2016-10-04 16:29:45 +02:00
Andrew Lewis
6d183977c8
[Minor] Fix a SPF_DNSFAIL case
2016-10-03 12:16:21 +02:00
Andrew Lewis
ebd2a08ccc
[Minor] SPF: Make (almost) all unresolveable records PERMFAIL
2016-09-30 12:36:25 +02:00
Andrew Lewis
8f6dc30fef
[Test] Extend SPF tests
2016-09-27 15:28:25 +02:00
Andrew Lewis
18b3d06674
[Minor] Fix SPF PERMFAIL/DNSFAIL behaviour on failed redirect
2016-09-26 11:39:25 +02:00
Andrew Lewis
baf74ba8c1
[Feature] Add R_SPF_PERMFAIL symbol
...
- Also yield R_SPF_DNSFAIL on bogus redirect
- Also grow SPF tests
2016-09-23 15:03:41 +02:00
Andrew Lewis
9c76079a32
[Test] Some tests for SPF
2016-09-21 17:37:24 +02:00
Andrew Lewis
4a09a0c772
[Test] Test DKIM permfail
2016-09-19 15:03:05 +02:00
Andrew Lewis
3b571d3ef4
[Test] Fix stats_path
2016-09-02 19:14:04 +02:00
Andrew Lewis
7bddfa9b88
[Test] Add config test
2016-08-30 23:19:43 +02:00
Andrew Lewis
d003de1435
[Test] Add tests for DMARC
2016-08-23 17:05:28 +02:00
Andrew Lewis
fb1df8484e
[Feature] Add mempool maps in multimap
2016-08-18 11:23:30 +02:00
Andrew Lewis
643ca8d0da
[Feature] ASN module; support matching ASN/country in multimap
...
- Also removed stuff from ip_score
- Updated tests
2016-08-17 11:33:06 +02:00
Andrew Lewis
5124bd8ae1
[Test] Use out of tree build for tests/code coverage
...
- Also a loosely-related fix for test library
2016-08-16 13:30:23 +02:00
Andrew Lewis
46189ebfbd
[Test] Additions for multimap & proxy tests
...
- Test unfiltered URL map
- Test SPAMC & RSPAMC protocols at proxy
2016-08-15 15:27:37 +02:00
Andrew Lewis
8a883557d3
[Test] Forgot to commit
2016-08-15 10:48:43 +01:00
Vsevolod Stakhov
f8718a1191
Merge pull request #847 from fatalbanana/mmtest
...
[Test] Add test for multimap URL maps & filters
2016-08-15 10:46:31 +01:00
Vsevolod Stakhov
e0accce581
Merge pull request #846 from fatalbanana/fuzzytest
...
[Test] Rework fuzzy tests
2016-08-15 10:46:11 +01:00
Andrew Lewis
f3b286c60f
[Test] Add test for multimap URL maps & filters
2016-08-15 10:43:46 +01:00
Andrew Lewis
478a75e719
[Test] Rework fuzzy tests
...
- Add fuzzy & negative match tests
- Check attachment & text samples
- Add suites for different algorithms; keyed/unkeyed
- Move overwrite/delete tests into general suite
2016-08-14 17:40:45 +02:00
Andrew Lewis
f0891eb34a
[Test] Fix tests
2016-08-14 13:56:46 +02:00
Andrew Lewis
38042e8a56
[Test] Add test for TLD parts
2016-08-14 00:05:33 +02:00
Andrew Lewis
188725d470
[Test] Some minor updates for tests
...
- Removed horrible features from test library
- Negative cases for SpamAssassin WLBLEval
- Restructured JSON tests
2016-08-12 17:24:30 +01:00
Andrew Lewis
46bc488da9
[Test] Add tests for redis maps in multimap
2016-08-12 11:34:37 +01:00
Vsevolod Stakhov
198483c332
Merge pull request #840 from fatalbanana/sa_wlbl
...
[Test] Some tests for SpamAssassin WLBLEval
2016-08-11 18:22:29 +01:00
Andrew Lewis
fde7a15af4
[Test] Some tests for SpamAssassin WLBLEval
2016-08-11 16:20:49 +01:00
Andrew Lewis
56eecc3c19
[Test] Fix multimap CDB test
2016-08-11 14:42:54 +01:00
Andrew Lewis
67ee0d9274
[Test] Add custom rspamd log follower for non-standard tests
2016-08-09 14:12:46 +01:00
Andrew Lewis
bd01177c13
[Test] Add simple test for proxying
2016-08-09 13:58:33 +01:00
Andrew Lewis
8e2d181f6d
[Test] Make Run Rspamd
function reusable by other stuff
2016-08-09 12:22:12 +01:00
Andrew Lewis
ec55c73c1b
[Test] Remove nasty artifact from Run Rspamd
function
2016-08-08 10:06:02 +01:00
Andrew Lewis
35b17f0600
[Test] Add SpamAssassin metas/foreign dependencies test
2016-08-05 11:35:02 +01:00
Vsevolod Stakhov
b679ef76a2
[Test] Fix recipients test
2016-08-04 18:31:57 +01:00
Vsevolod Stakhov
a569362933
Merge pull request #809 from fatalbanana/rcpt
...
[Test] Add test for recipient parsing sanity
2016-08-04 17:34:56 +01:00
Andrew Lewis
255287d6ed
[Test] Add test for recipient parsing sanity
2016-08-04 17:10:39 +01:00
Andrew Lewis
12ff0dfbb6
[Test] Beginnings of tests for SpamAssassin plugin
2016-08-04 14:39:19 +01:00
Andrew Lewis
f022a45ae3
[Minor] Reformat test data
2016-08-04 14:38:11 +01:00
Andrew Lewis
581db041d2
[Test] Unify some configs
2016-08-04 12:22:27 +01:00
Andrew Lewis
842657ed75
[Test] Add test for CDB maps
2016-08-04 10:48:48 +01:00
Andrew Lewis
c1c49ce51d
[Test] Some basic tests for JSON sanity
2016-08-03 11:39:10 +01:00
Andrew Lewis
b76827ebc1
[Test] Add DKIM sign + verify tests
2016-08-02 21:16:56 +01:00
Andrew Lewis
92e1a2209f
[Test] Replace get_process_children with psutil function
2016-08-02 01:23:38 +02:00
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
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