diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-28 20:07:12 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-28 20:07:12 +0000 |
commit | 8c44b934303bbc2a983398addf8cc001fe74c8e9 (patch) | |
tree | 9ce76bc57a8337132594e394f94fcf3c8bd41c44 /test/functional/lua | |
parent | e837c9b7b510ee9eb51bca79a800f3813698baa2 (diff) | |
download | rspamd-8c44b934303bbc2a983398addf8cc001fe74c8e9.tar.gz rspamd-8c44b934303bbc2a983398addf8cc001fe74c8e9.zip |
[Test] Remove more broken tests
Diffstat (limited to 'test/functional/lua')
-rw-r--r-- | test/functional/lua/tcp.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/functional/lua/tcp.lua b/test/functional/lua/tcp.lua index 30285c4f5..4400e4cb9 100644 --- a/test/functional/lua/tcp.lua +++ b/test/functional/lua/tcp.lua @@ -61,7 +61,7 @@ local function http_simple_tcp_symbol(task) local data local got_content = '' repeat - is_ok, data = connection:read_once(); + is_ok, data = connection:read_once(); logger.errx(task, 'read_once: is_ok: %1, data: %2', is_ok, data) if not is_ok then task:insert_result('HTTP_SYNC_ERROR', 1.0, data) @@ -147,7 +147,7 @@ local function http_tcp_symbol(task) end local value - local header = header_line:gsub("([%w-]+): (.*)", + local header = header_line:gsub("([%w-]+): (.*)", function (h, v) value = v; return h:lower() end) logger.errx(task, 'parsed header: %1 -> "%2"', header, value) @@ -178,6 +178,7 @@ rspamd_config:register_symbol({ callback = http_simple_tcp_async_symbol, no_squeeze = true }) +--[[ rspamd_config:register_symbol({ name = 'SIMPLE_TCP_TEST', score = 1.0, |