diff options
author | Andrew Lewis <nerf@judo.za.org> | 2017-02-27 18:11:44 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2017-02-27 18:11:44 +0200 |
commit | a2e7253038e6dcf6f66040412e45e7ab0715af83 (patch) | |
tree | 541f7fce48416c927339eee9b278361b14490cf4 /test/functional/configs/maps | |
parent | f42f2e524ff25001686e7c4c2dc7c40563dff3b8 (diff) | |
download | rspamd-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.list | 3 | ||||
-rw-r--r-- | test/functional/configs/maps/map.list | 3 | ||||
-rw-r--r-- | test/functional/configs/maps/regexp.list | 3 |
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$/ |