summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/testing/tests/package/test_lpeg.py6
-rw-r--r--support/testing/tests/package/test_lua_curl.py2
-rw-r--r--support/testing/tests/package/test_luaossl.py2
-rw-r--r--support/testing/tests/package/test_luasocket.py4
4 files changed, 12 insertions, 2 deletions
diff --git a/support/testing/tests/package/test_lpeg.py b/support/testing/tests/package/test_lpeg.py
index e574157350..4e1ee343bf 100644
--- a/support/testing/tests/package/test_lpeg.py
+++ b/support/testing/tests/package/test_lpeg.py
@@ -10,7 +10,8 @@ class TestLuaLPeg(TestLuaBase):
def test_run(self):
self.login()
- self.module_test("lpeg", script="print(require[[lpeg]].version())")
+ self.module_test("lpeg")
+ self.module_test("re")
class TestLuajitLPeg(TestLuaBase):
@@ -22,4 +23,5 @@ class TestLuajitLPeg(TestLuaBase):
def test_run(self):
self.login()
- self.module_test("lpeg", script="print(require[[lpeg]].version())")
+ self.module_test("lpeg")
+ self.module_test("re")
diff --git a/support/testing/tests/package/test_lua_curl.py b/support/testing/tests/package/test_lua_curl.py
index 5ee79313f2..0813039483 100644
--- a/support/testing/tests/package/test_lua_curl.py
+++ b/support/testing/tests/package/test_lua_curl.py
@@ -11,6 +11,7 @@ class TestLuaLuacURL(TestLuaBase):
def test_run(self):
self.login()
self.module_test("cURL")
+ self.module_test("lcurl")
class TestLuajitLuacURL(TestLuaBase):
@@ -23,3 +24,4 @@ class TestLuajitLuacURL(TestLuaBase):
def test_run(self):
self.login()
self.module_test("cURL")
+ self.module_test("lcurl")
diff --git a/support/testing/tests/package/test_luaossl.py b/support/testing/tests/package/test_luaossl.py
index f6914e0544..f9f9ab4ee6 100644
--- a/support/testing/tests/package/test_luaossl.py
+++ b/support/testing/tests/package/test_luaossl.py
@@ -11,6 +11,7 @@ class TestLuaLuaossl(TestLuaBase):
def test_run(self):
self.login()
self.module_test("openssl")
+ self.module_test("_openssl")
class TestLuajitLuaossl(TestLuaBase):
@@ -23,3 +24,4 @@ class TestLuajitLuaossl(TestLuaBase):
def test_run(self):
self.login()
self.module_test("openssl")
+ self.module_test("_openssl")
diff --git a/support/testing/tests/package/test_luasocket.py b/support/testing/tests/package/test_luasocket.py
index c2d19d78c9..3d21df1de4 100644
--- a/support/testing/tests/package/test_luasocket.py
+++ b/support/testing/tests/package/test_luasocket.py
@@ -10,6 +10,8 @@ class TestLuaLuaSocket(TestLuaBase):
def test_run(self):
self.login()
+ self.module_test("ltn12")
+ self.module_test("mime")
self.module_test("socket")
@@ -22,4 +24,6 @@ class TestLuajitLuaSocket(TestLuaBase):
def test_run(self):
self.login()
+ self.module_test("ltn12")
+ self.module_test("mime")
self.module_test("socket")