aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/cases
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/cases')
-rw-r--r--test/functional/cases/102_maps.robot26
1 files changed, 25 insertions, 1 deletions
diff --git a/test/functional/cases/102_maps.robot b/test/functional/cases/102_maps.robot
index 0a83283f6..aecc61b5c 100644
--- a/test/functional/cases/102_maps.robot
+++ b/test/functional/cases/102_maps.robot
@@ -63,4 +63,28 @@ MAP - FROM REGEXP MISS
MAP - DEPENDS HIT
${result} = Scan Message With Rspamc ${MESSAGE} -i 147.243.1.47 --from user123@microsoft.com
- Check Rspamc ${result} DEPS_MAP \ No newline at end of file
+ Check Rspamc ${result} DEPS_MAP
+
+MAP - DEPENDS MISS
+ ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1 --from user123@microsoft.com
+ Check Rspamc ${result} DEPS_MAP inverse=1 rc_nocheck=1
+
+MAP - MULSYM PLAIN
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user1@example.com
+ Check Rspamc ${result} RCPT_MAP
+
+MAP - MULSYM SCORE
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user2@example.com
+ Check Rspamc ${result} RCPT_MAP (10.0
+
+MAP - MULSYM SYMBOL
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user3@example.com
+ Check Rspamc ${result} SYM1 (1.0
+
+MAP - MULSYM SYMBOL MISS
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user4@example.com
+ Check Rspamc ${result} RCPT_MAP (1.0
+
+MAP - MULSYM SYMBOL + SCORE
+ ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user5@example.com
+ Check Rspamc ${result} SYM1 (-10.0 \ No newline at end of file