diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-08-12 17:00:56 +0100 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-08-12 17:24:30 +0100 |
commit | 188725d470dc3b9bc9ea3fbc291e05cb7623f2f4 (patch) | |
tree | 9c7918261713b32c9c0ef830f5282c1f859c0abb /test/functional/cases/102_multimap.robot | |
parent | 34696a9cb11cbc8c0c969d52d57936f2ab2b2bf0 (diff) | |
download | rspamd-188725d470dc3b9bc9ea3fbc291e05cb7623f2f4.tar.gz rspamd-188725d470dc3b9bc9ea3fbc291e05cb7623f2f4.zip |
[Test] Some minor updates for tests
- Removed horrible features from test library
- Negative cases for SpamAssassin WLBLEval
- Restructured JSON tests
Diffstat (limited to 'test/functional/cases/102_multimap.robot')
-rw-r--r-- | test/functional/cases/102_multimap.robot | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/functional/cases/102_multimap.robot b/test/functional/cases/102_multimap.robot index f88fd9da6..03db8c854 100644 --- a/test/functional/cases/102_multimap.robot +++ b/test/functional/cases/102_multimap.robot @@ -19,7 +19,7 @@ MAP - DNSBL HIT MAP - DNSBL MISS ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1 - Check Rspamc ${result} DNSBL_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} DNSBL_MAP inverse=1 MAP - IP HIT ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.1 @@ -27,7 +27,7 @@ MAP - IP HIT MAP - IP MISS ${result} = Scan Message With Rspamc ${MESSAGE} -i 127.0.0.2 - Check Rspamc ${result} IP_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} IP_MAP inverse=1 MAP - IP MASK ${result} = Scan Message With Rspamc ${MESSAGE} -i 10.1.0.10 @@ -35,7 +35,7 @@ MAP - IP MASK MAP - IP MASK MISS ${result} = Scan Message With Rspamc ${MESSAGE} -i 11.1.0.10 - Check Rspamc ${result} IP_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} IP_MAP inverse=1 MAP - IP V6 ${result} = Scan Message With Rspamc ${MESSAGE} -i ::1 @@ -43,7 +43,7 @@ MAP - IP V6 MAP - IP V6 MISS ${result} = Scan Message With Rspamc ${MESSAGE} -i fe80::1 - Check Rspamc ${result} IP_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} IP_MAP inverse=1 MAP - FROM ${result} = Scan Message With Rspamc ${MESSAGE} --from user@example.com @@ -51,7 +51,7 @@ MAP - FROM MAP - FROM MISS ${result} = Scan Message With Rspamc ${MESSAGE} --from user@other.com - Check Rspamc ${result} FROM_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} FROM_MAP inverse=1 MAP - FROM REGEXP ${result} = Scan Message With Rspamc ${MESSAGE} --from user123@test.com @@ -61,7 +61,7 @@ MAP - FROM REGEXP MAP - FROM REGEXP MISS ${result} = Scan Message With Rspamc ${MESSAGE} --from user@other.org - Check Rspamc ${result} REGEXP_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} REGEXP_MAP inverse=1 MAP - DEPENDS HIT ${result} = Scan Message With Rspamc ${MESSAGE} -i 147.243.1.47 --from user123@microsoft.com @@ -69,7 +69,7 @@ MAP - DEPENDS HIT 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_noinverse=1 + Check Rspamc ${result} DEPS_MAP inverse=1 MAP - MULSYM PLAIN ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user1@example.com @@ -97,7 +97,7 @@ MAP - UTF MAP - UTF MISS ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} HEADER_MAP inverse=1 rc_noinverse=1 + Check Rspamc ${result} HEADER_MAP inverse=1 MAP - HOSTNAME ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname example.com @@ -105,7 +105,7 @@ MAP - HOSTNAME 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 + Check Rspamc ${result} HOSTNAME_MAP inverse=1 MAP - CDB - HOSTNAME ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname example.com @@ -113,7 +113,7 @@ MAP - CDB - HOSTNAME MAP - CDB - HOSTNAME MISS ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname rspamd.com - Check Rspamc ${result} CDB_HOSTNAME inverse=1 rc_noinverse=1 + Check Rspamc ${result} CDB_HOSTNAME inverse=1 MAP - REDIS - HOSTNAME Redis HSET hostname redistest.example.net ${EMPTY} @@ -122,7 +122,7 @@ MAP - REDIS - HOSTNAME MAP - REDIS - HOSTNAME MISS ${result} = Scan Message With Rspamc ${MESSAGE} --ip 127.0.0.1 --hostname rspamd.com - Check Rspamc ${result} REDIS_HOSTNAME inverse=1 rc_noinverse=1 + Check Rspamc ${result} REDIS_HOSTNAME inverse=1 MAP - REDIS - IP Redis HSET ipaddr 127.0.0.1 ${EMPTY} @@ -131,7 +131,7 @@ MAP - REDIS - IP MAP - REDIS - IP - MISS ${result} = Scan Message With Rspamc ${MESSAGE} --ip 8.8.8.8 - Check Rspamc ${result} REDIS_IPADDR inverse=1 rc_noinverse=1 + Check Rspamc ${result} REDIS_IPADDR inverse=1 MAP - REDIS - FROM Redis HSET emailaddr from@rspamd.tk ${EMPTY} @@ -140,7 +140,7 @@ MAP - REDIS - FROM MAP - REDIS - FROM MISS ${result} = Scan Message With Rspamc ${MESSAGE} --from user@other.com - Check Rspamc ${result} REDIS_FROMADDR inverse=1 rc_noinverse=1 + Check Rspamc ${result} REDIS_FROMADDR inverse=1 *** Keywords *** Multimap Setup |