diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-11 18:22:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-11 18:22:22 +0100 |
commit | bf89dbe2f57afe0fb65fdde76d5c605d1900bbdd (patch) | |
tree | 704f3924a7d06b0d2a609e991d5bba6496bb398b /test | |
parent | a37c49a76d44f41affc4288f5105c92e2a41ac36 (diff) | |
parent | 56eecc3c19f513782ab5d7a21c9153aa148da44f (diff) | |
download | rspamd-bf89dbe2f57afe0fb65fdde76d5c605d1900bbdd.tar.gz rspamd-bf89dbe2f57afe0fb65fdde76d5c605d1900bbdd.zip |
Merge pull request #839 from fatalbanana/cdbtest
[Test] Fix multimap CDB test
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/cases/102_multimap.robot | 4 | ||||
-rw-r--r-- | test/functional/configs/multimap.conf | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/cases/102_multimap.robot b/test/functional/cases/102_multimap.robot index cad5b56df..dd6f103ec 100644 --- a/test/functional/cases/102_multimap.robot +++ b/test/functional/cases/102_multimap.robot @@ -108,11 +108,11 @@ MAP - HOSTNAME MISS MAP - CDB - HOSTNAME ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname example.com - Check Rspamc ${result} HOSTNAME_MAP + Check Rspamc ${result} CDB_HOSTNAME MAP - CDB - HOSTNAME MISS ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname rspamd.com - Check Rspamc ${result} HOSTNAME_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} CDB_HOSTNAME inverse=1 rc_noinverse=1 *** Keywords *** Multimap Setup diff --git a/test/functional/configs/multimap.conf b/test/functional/configs/multimap.conf index 334b07e02..1cb010d8a 100644 --- a/test/functional/configs/multimap.conf +++ b/test/functional/configs/multimap.conf @@ -42,7 +42,7 @@ multimap { type = "hostname"; map = "${TESTDIR}/configs/maps/domains.list"; } - HOSTNAME_MAP_CDB { + CDB_HOSTNAME { type = "hostname"; map = "cdb://${TESTDIR}/configs/maps/domains.cdb"; } |