aboutsummaryrefslogtreecommitdiffstats
path: root/test.lua
diff options
context:
space:
mode:
authorAsbjørn Sloth Tønnesen <ast@fiberby.net>2017-03-06 10:58:06 +0000
committerAsbjørn Sloth Tønnesen <ast@2e8.dk>2017-03-06 10:58:06 +0000
commit884559d48af1a7c4b8d1aac8058260c58b1cc91c (patch)
tree87b834188a6f7bf149acd2e6abe60cd103b04ab7 /test.lua
parenta2216e14521763e702f69a9bfd046aa15a5b3f52 (diff)
downloadlua-inet-884559d48af1a7c4b8d1aac8058260c58b1cc91c.tar.gz
lua-inet-884559d48af1a7c4b8d1aac8058260c58b1cc91c.tar.xz
lua-inet-884559d48af1a7c4b8d1aac8058260c58b1cc91c.zip
tests: enable tests to be run under plain lua
Signed-off-by: Asbjørn Sloth Tønnesen <ast@fiberby.net>
Diffstat (limited to 'test.lua')
-rwxr-xr-xtest.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test.lua b/test.lua
index e02345f..a61ed86 100755
--- a/test.lua
+++ b/test.lua
@@ -1,7 +1,6 @@
-#!/usr/bin/env lem
+#!/usr/bin/env lua
-package.path = './?/init.lua;'..package.path..';./lua/?.lua;./lua/?/init.lua;./?.lua'
-package.cpath = package.cpath..';./lua/?.so'
+package.path = './?/init.lua;./lua/?.lua;./lua/?/init.lua;./?.lua;'..package.path
local test = require 'test'