rogpeppe / go-internal

Selected Go-internal packages factored out from the standard library
BSD 3-Clause "New" or "Revised" License
823 stars 67 forks source link

testscript: fix "signal: killed" exec errors on MacOS by doing a full copy of binaries #220

Closed bep closed 1 year ago

bep commented 1 year ago

By doing a full copy and not a hard link of the binaries.

This is the fall back used already for Windows.

This is tested OK to remove unexpected test failures with error output similar to:

[signal: killed]
FAIL: testscripts/myecho.txt:1: unexpected command failure

See #200