summaryrefslogtreecommitdiffstats
path: root/test/rspamd_lua_test.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-28 09:24:36 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-28 09:24:36 +0100
commitc9b8761d7f5ee183ae7345985cef42275692f1b5 (patch)
tree5eaee7f3ef3b2c7b9375f21714849fffa25abd0c /test/rspamd_lua_test.c
parentf3d15b0d92afeb979959e505c740abf4bf81b9b8 (diff)
downloadrspamd-c9b8761d7f5ee183ae7345985cef42275692f1b5.tar.gz
rspamd-c9b8761d7f5ee183ae7345985cef42275692f1b5.zip
[Test] Properly set lua paths for tests
Diffstat (limited to 'test/rspamd_lua_test.c')
-rw-r--r--test/rspamd_lua_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/rspamd_lua_test.c b/test/rspamd_lua_test.c
index 12d56e5f0..baad40ed7 100644
--- a/test/rspamd_lua_test.c
+++ b/test/rspamd_lua_test.c
@@ -106,6 +106,7 @@ rspamd_lua_test_func (void)
}
lua_setglobal (L, "tests_list");
+ rspamd_lua_set_path (L, NULL);
lua_pushcfunction (L, traceback);
luaL_loadfile (L, rp);