diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2024-08-28 10:15:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-28 10:15:54 +0200 |
commit | 60b66fce58b64d121b124e64ef78d37512e3a8a2 (patch) | |
tree | 55590869085a2f9954e30cc728a63e6b87ba3ea8 /spec | |
parent | 227743a147967bf1418525770082a5943b3f9f41 (diff) | |
download | luasystem-60b66fce58b64d121b124e64ef78d37512e3a8a2.tar.gz luasystem-60b66fce58b64d121b124e64ef78d37512e3a8a2.tar.bz2 luasystem-60b66fce58b64d121b124e64ef78d37512e3a8a2.zip |
Re-add FreeBSD support (broken since c1a64c1) (#33)
Co-authored-by: cos <cos>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/04-term_spec.lua | 3 |
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 |