From 175d9c2ca8a6f82dcde0c0b19cc299525aa727da Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 9 Jul 2023 17:12:23 -0400 Subject: Added in executable path to test command. --- t/run.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/run.lua b/t/run.lua index 165a976..05b4947 100644 --- a/t/run.lua +++ b/t/run.lua @@ -125,7 +125,7 @@ local tests = { local last_command_result, last_command lpm = function(cmd) - last_command = "./lpm --quiet --json --assume-yes --userdir=" .. userdir .. " " .. cmd + last_command = arg[0] .. " --quiet --json --assume-yes --userdir=" .. userdir .. " " .. cmd local pipe = io.popen(last_command, "r") local result = pipe:read("*all") last_command_result = result ~= "" and json.decode(result) or nil -- cgit v1.2.3