summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/modules/stdin/test.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua
index 4d24d1dd6..985346d39 100644
--- a/tests/modules/stdin/test.lua
+++ b/tests/modules/stdin/test.lua
@@ -32,7 +32,7 @@ function main(t)
-- Fix pwsh and cosmocc "err: ape error: l: not found (maybe chmod +x or ./ needed)" for Linux
xmake = fix_ape_programfile(xmake)
- local is_ape = binutils.format(os.programfile()) == "ape"
+ local is_ape = binutils.format(xmake) == "ape"
local run_stdin = string.format('"%s" l --stdin', xmake)
if not is_host("windows") then