aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/maps
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2017-02-27 18:11:44 +0200
committerAndrew Lewis <nerf@judo.za.org>2017-02-27 18:11:44 +0200
commita2e7253038e6dcf6f66040412e45e7ab0715af83 (patch)
tree541f7fce48416c927339eee9b278361b14490cf4 /test/functional/configs/maps
parentf42f2e524ff25001686e7c4c2dc7c40563dff3b8 (diff)
downloadrspamd-a2e7253038e6dcf6f66040412e45e7ab0715af83.tar.gz
rspamd-a2e7253038e6dcf6f66040412e45e7ab0715af83.zip
[Test] Test map key values
Diffstat (limited to 'test/functional/configs/maps')
-rw-r--r--test/functional/configs/maps/ip2.list3
-rw-r--r--test/functional/configs/maps/map.list3
-rw-r--r--test/functional/configs/maps/regexp.list3
3 files changed, 9 insertions, 0 deletions
diff --git a/test/functional/configs/maps/ip2.list b/test/functional/configs/maps/ip2.list
new file mode 100644
index 000000000..7d99d287c
--- /dev/null
+++ b/test/functional/configs/maps/ip2.list
@@ -0,0 +1,3 @@
+8.8.8.8 test one
+::1 another
+192.168.1.1
diff --git a/test/functional/configs/maps/map.list b/test/functional/configs/maps/map.list
new file mode 100644
index 000000000..8e68bab62
--- /dev/null
+++ b/test/functional/configs/maps/map.list
@@ -0,0 +1,3 @@
+foo bar
+asdf.example.com value
+asdf
diff --git a/test/functional/configs/maps/regexp.list b/test/functional/configs/maps/regexp.list
index 0f3ef27bf..ceb2bf5ab 100644
--- a/test/functional/configs/maps/regexp.list
+++ b/test/functional/configs/maps/regexp.list
@@ -1,2 +1,5 @@
/^.*@example.com/i
/^user.*@.*com/i
+/foo/ bar
+/asdf\.example\.com/ value
+/^asdf$/