kumquat-buildroot/support/testing/tests/package/test_luasyslog.py
Francois Perrad 1a49dcb528 support/testing: improve test_luasyslog
Lua has a builtin lsyslog module, so let's test this one as well.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2019-08-02 17:35:44 +02:00

28 lines
617 B
Python

from tests.package.test_lua import TestLuaBase
class TestLuaLuasyslog(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUA=y
BR2_PACKAGE_LUASYSLOG=y
"""
def test_run(self):
self.login()
self.module_test("lsyslog")
self.module_test("logging.syslog")
class TestLuajitLuasyslog(TestLuaBase):
config = TestLuaBase.config + \
"""
BR2_PACKAGE_LUAJIT=y
BR2_PACKAGE_LUASYSLOG=y
"""
def test_run(self):
self.login()
self.module_test("lsyslog")
self.module_test("logging.syslog")