From: Andrew Lewis Date: Sun, 31 Jul 2016 13:52:29 +0000 (+0200) Subject: [Test] Some minor fixes for tests X-Git-Tag: 1.3.1~7^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bd925cbcbe16cf9f088cc3b187a052095c5760db;p=rspamd.git [Test] Some minor fixes for tests --- diff --git a/test/functional/cases/101_lua.robot b/test/functional/cases/101_lua.robot index 5e5dff6c8..81c08ceee 100644 --- a/test/functional/cases/101_lua.robot +++ b/test/functional/cases/101_lua.robot @@ -26,7 +26,7 @@ Pre and Post Filters [Setup] Lua Setup ${TESTDIR}/lua/prepostfilters.lua ${result} = Scan Message With Rspamc ${MESSAGE} Check Rspamc ${result} TEST_PRE - Check Rspamc ${result} TEST_POST rc_nocheck=1 + Should Contain ${result.stdout} TEST_POST *** Keywords *** Lua Setup diff --git a/test/functional/cases/102_maps.robot b/test/functional/cases/102_maps.robot index 4744335f8..03291a49f 100644 --- a/test/functional/cases/102_maps.robot +++ b/test/functional/cases/102_maps.robot @@ -68,7 +68,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_nocheck=1 + Check Rspamc ${result} DEPS_MAP inverse=1 rc_noinverse=1 MAP - MULSYM PLAIN ${result} = Scan Message With Rspamc ${MESSAGE} --rcpt user1@example.com @@ -96,4 +96,4 @@ MAP - UTF MAP - UTF MISS ${result} = Scan Message With Rspamc ${MESSAGE} - Check Rspamc ${result} HEADER_MAP inverse=1 rc_nocheck=1 \ No newline at end of file + Check Rspamc ${result} HEADER_MAP inverse=1 rc_noinverse=1