aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases/102_maps.robot
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases/102_maps.robot')
-rw-r--r--test/functional/cases/102_maps.robot8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/cases/102_maps.robot b/test/functional/cases/102_maps.robot
index 03291a49f..6070cf5e4 100644
--- a/test/functional/cases/102_maps.robot
+++ b/test/functional/cases/102_maps.robot
@@ -97,3 +97,11 @@ MAP - UTF
MAP - UTF MISS
${result} = Scan Message With Rspamc ${MESSAGE}
Check Rspamc ${result} HEADER_MAP inverse=1 rc_noinverse=1
+
+MAP - HOSTNAME
+ ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname example.com
+ Check Rspamc ${result} HOSTNAME_MAP
+
+MAP - 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