]> source.dussan.org Git - rspamd.git/commitdiff
[Test] Sigh, another try to fix robot
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 17 Jul 2019 13:38:20 +0000 (14:38 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 17 Jul 2019 13:38:20 +0000 (14:38 +0100)
src/lua/lua_task.c
test/functional/cases/330_neural.robot

index e40afed3e37b6eb64800e9a6d1f51025419e1f14..8d943ed1fd7208075408a7fbea703b7fbba8c249 100644 (file)
@@ -4950,7 +4950,7 @@ lua_task_set_settings (lua_State *L)
        LUA_TRACE_POINT;
        struct rspamd_task *task = lua_check_task (L, 1);
        ucl_object_t *settings;
-       const ucl_object_t *act, *elt, *metric_elt, *vars, *cur;
+       const ucl_object_t *act, *metric_elt, *vars, *cur;
        ucl_object_iter_t it = NULL;
        struct rspamd_metric_result *mres;
        guint i;
index 0b8e42ddd00b250c2bf28bb83db9e541b1c41cf0..6681de14b6f82d3c59858c8061a20aa008b27a42 100644 (file)
@@ -63,6 +63,7 @@ Check Neural SPAM INVERSE
 Neural Setup
   ${PLUGIN_CONFIG} =  Get File  ${TESTDIR}/configs/neural.conf
   Set Suite Variable  ${PLUGIN_CONFIG}
+  Set Suite Variable  ${LUA_SCRIPT}
   Generic Setup  PLUGIN_CONFIG
   Run Redis