diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-04 10:48:48 +0100 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-04 10:48:48 +0100 |
commit | 842657ed7526d2294645faaf8bbbf1fba1522ec8 (patch) | |
tree | 1a317d438c040c239b5718905a6a6afe14d3965d /test/functional/configs | |
parent | 9fd26f1ff73dd5c3eee81dc17f1cf69445b9ae4c (diff) | |
download | rspamd-842657ed7526d2294645faaf8bbbf1fba1522ec8.tar.gz rspamd-842657ed7526d2294645faaf8bbbf1fba1522ec8.zip |
[Test] Add test for CDB maps
Diffstat (limited to 'test/functional/configs')
-rw-r--r-- | test/functional/configs/maps.conf | 4 | ||||
-rw-r--r-- | test/functional/configs/maps/domains.cdb | bin | 0 -> 2084 bytes |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/configs/maps.conf b/test/functional/configs/maps.conf index 039ef3fb0..09a8e8cd7 100644 --- a/test/functional/configs/maps.conf +++ b/test/functional/configs/maps.conf @@ -73,4 +73,8 @@ multimap { type = "hostname"; map = "${TESTDIR}/configs/maps/domains.list"; } + HOSTNAME_MAP_CDB { + type = "hostname"; + map = "cdb://${TESTDIR}/configs/maps/domains.cdb"; + } } diff --git a/test/functional/configs/maps/domains.cdb b/test/functional/configs/maps/domains.cdb Binary files differnew file mode 100644 index 000000000..889268e20 --- /dev/null +++ b/test/functional/configs/maps/domains.cdb |