summaryrefslogtreecommitdiff
path: root/tests/modules/stdin/test.lua
diff options
context:
space:
mode:
authorSaikari <[email protected]>2026-02-02 15:58:01 +0300
committerSaikari <[email protected]>2026-02-02 15:58:01 +0300
commit307947cc644243e9b8248a14d8ee2b3b94a549fc (patch)
treea893dd0b226052c1caf1d57f6dfcfd2013caace2 /tests/modules/stdin/test.lua
parent9f82e7f5c72f8f120c24c05cb25468226dbc0ae9 (diff)
refactor: remove MacOS specific workaround for pwsh and cosmocc exec format error
Diffstat (limited to 'tests/modules/stdin/test.lua')
-rw-r--r--tests/modules/stdin/test.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/modules/stdin/test.lua b/tests/modules/stdin/test.lua
index f3490a064..2c3460f0d 100644
--- a/tests/modules/stdin/test.lua
+++ b/tests/modules/stdin/test.lua
@@ -35,10 +35,6 @@ function main(t)
local xmake = path.translate(os.programfile())
local is_ape = binutils.format(xmake) == "ape"
local run_stdin = string.format('"%s" l --stdin', xmake)
- -- Fix pwsh and cosmocc "exec format error" for MacOS
- if is_ape and is_host("macosx") then
- run_stdin = string.format("sh -c ' \"%s\" l --stdin '", xmake)
- end
local pwsh = ""
if is_host("windows") then
-- Test cmd