blob: 158b95cb06788903d655a43454ec60036336f5ae [file] [log] [blame]
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")