aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/04-term_spec.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/04-term_spec.lua b/spec/04-term_spec.lua
index 57fb4d0..813947a 100644
--- a/spec/04-term_spec.lua
+++ b/spec/04-term_spec.lua
@@ -27,7 +27,8 @@ describe("Terminal:", function()
27 assert(type(serr) == "boolean", "serr must be a boolean") 27 assert(type(serr) == "boolean", "serr must be a boolean")
28 28
29 local tmpfile = "./spec/04-term_helper.output" 29 local tmpfile = "./spec/04-term_helper.output"
30 local execcmd = "lua ./spec/04-term_helper.lua -- " .. tmpfile 30 local lua_bin = system.getenv("LUA") or "lua"
31 local execcmd = lua_bin .. " ./spec/04-term_helper.lua -- " .. tmpfile
31 32
32 sin = sin and "" or 'echo "hello" | ' 33 sin = sin and "" or 'echo "hello" | '
33 if system.windows then 34 if system.windows then