aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2020-09-28 13:31:12 +0200
committerAndrew Lewis <nerf@judo.za.org>2020-09-28 13:31:12 +0200
commit82c152972e86f79464d1ba7ddf1425af03f7df43 (patch)
tree23ceb5287715ca44dd261777ca59ef82e07ee8b7 /test
parent325dec8b6bd470dc81e50246f34c07b95c41e05e (diff)
downloadrspamd-82c152972e86f79464d1ba7ddf1425af03f7df43.tar.gz
rspamd-82c152972e86f79464d1ba7ddf1425af03f7df43.zip
[Test] Fix fuzzy skip test
Diffstat (limited to 'test')
-rw-r--r--test/functional/cases/120_fuzzy/lib.robot2
-rw-r--r--test/functional/lib/rspamd.robot3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/cases/120_fuzzy/lib.robot b/test/functional/cases/120_fuzzy/lib.robot
index 2aa8034d1..fab223411 100644
--- a/test/functional/cases/120_fuzzy/lib.robot
+++ b/test/functional/cases/120_fuzzy/lib.robot
@@ -30,7 +30,7 @@ Fuzzy Skip Add Test Base
Scan File ${message}
Create File ${TMPDIR}/test.map
Expect Symbol R_TEST_FUZZY_DENIED
- Append To File ${TMPDIR}/skip_hash.map.tmp 670cfcba72a87bab689958a8af5c22593dc17c907836c7c26a74d1bb49add25adfa45a5f172e3af82c9c638e8eb5fc860c22c7e966e61a459165ef0b9e1acc89
+ Append To File ${TMPDIR}/skip_hash.map.tmp 2d875d4737c59c4822fd01dadeba52a329de3933f766c6f167904c6a426bbfa7ea63a66bf807b25c5ee853baee58bfb18d3b423fcd13cfa7c3d77a840039a1ea
Hard Link ${TMPDIR}/skip_hash.map.tmp ${TMPDIR}/skip_hash.map
Scan File ${message}
Do Not Expect Symbol R_TEST_FUZZY_DENIED
diff --git a/test/functional/lib/rspamd.robot b/test/functional/lib/rspamd.robot
index fccf2e429..e310db4b5 100644
--- a/test/functional/lib/rspamd.robot
+++ b/test/functional/lib/rspamd.robot
@@ -46,7 +46,8 @@ Check Rspamc Match String
Do Not Expect Symbol
[Arguments] ${symbol}
- Run Keyword And Expect Error * Expect Symbol ${symbol}
+ ${passed} = Run Keyword And Return Status Expect Symbol ${symbol}
+ Run Keyword If ${passed} Fail Unexpected symbol ${symbol} was found in result
Generic Setup
[Arguments] @{vargs} &{kwargs}