package/luasyslog: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad
2019-06-12 21:09:28 +02:00
committed by Thomas Petazzoni
parent 8a698b7313
commit c8ba0f7488
7 changed files with 101 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
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("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("logging.syslog")