[Buildroot] [git commit] support/testing: improve test_luasyslog

Arnout Vandecappelle (Essensium/Mind) arnout at mind.be
Fri Aug 2 15:35:44 UTC 2019


commit: https://git.buildroot.net/buildroot/commit/?id=1a49dcb5287111cb0cb4d3d38eea95dc85d0893f
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Lua has a builtin lsyslog module, so let's test this one as well.

Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
---
 support/testing/tests/package/test_luasyslog.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/support/testing/tests/package/test_luasyslog.py b/support/testing/tests/package/test_luasyslog.py
index 4eb5402d0e..158b95cb06 100644
--- a/support/testing/tests/package/test_luasyslog.py
+++ b/support/testing/tests/package/test_luasyslog.py
@@ -10,6 +10,7 @@ class TestLuaLuasyslog(TestLuaBase):
 
     def test_run(self):
         self.login()
+        self.module_test("lsyslog")
         self.module_test("logging.syslog")
 
 
@@ -22,4 +23,5 @@ class TestLuajitLuasyslog(TestLuaBase):
 
     def test_run(self):
         self.login()
+        self.module_test("lsyslog")
         self.module_test("logging.syslog")


More information about the buildroot mailing list