Commit af65dd3
fix: check payload-dumper-go's exec bit without /usr/bin/test
The macOS packaging job died with "/usr/bin/test is not recognized". `test`
lives at /bin/test on macOS; /usr/bin/test is a Linux path. Only the App
osx-arm64 job reached this branch, so it was the only one to fail.
Uses System.IO.File.GetUnixFileMode instead of shelling out, which needs no
external binary and no assumption about its path.
Reproduced the failure and verified the fix locally under pwsh on macOS,
including stripping the exec bit to confirm the check still rejects a
non-executable payload-dumper-go.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent a201bfa commit af65dd3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
260 | | - | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
0 commit comments