From bd925cbcbe16cf9f088cc3b187a052095c5760db Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Sun, 31 Jul 2016 15:52:29 +0200 Subject: [PATCH] [Test] Some minor fixes for tests --- test/functional/cases/101_lua.robot | 2 +- test/functional/cases/102_maps.robot | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.39.5