summaryrefslogtreecommitdiff
path: root/tests/modules/stdin/test.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/stdin/test.lua')
-rw-r--r--tests/modules/stdin/test.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua
index e2d139e87..1780c622c 100644
--- a/tests/modules/stdin/test.lua
+++ b/tests/modules/stdin/test.lua
@@ -36,16 +36,6 @@ function main(t)
xmake = fix_ape_programfile(xmake)
local is_ape = path.filename(xmake):find("ape", 1, true) ~= nil or xmake:endswith(".com")
- if not is_ape and is_host("linux") and os.isfile(xmake) then
- local file = io.open(xmake, "rb")
- if file then
- local header = file:read(2)
- file:close()
- if header == "MZ" then
- is_ape = true
- end
- end
- end
local run_stdin = string.format('"%s" l --stdin', xmake)
if not is_host("windows") then