You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Two server tests assume Linux and fail on macOS (Bash 3.2, case-insensitive disk) #42139
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Two server tests assume a Linux machine and fail on a stock Mac (system Bash 3.2, case-insensitive APFS):
apps/server/src/project/ProjectSetupScriptRunner.test.ts › "reports a nonzero completion for a syntax error" expects exit status 2 for if then. The fixture invokes /bin/bash, and macOS Bash 3.2 returns 1:
$ /bin/bash -c 'eval "if then"'; echo $?
/bin/bash: eval: line 0: syntax error near unexpected token `then'
/bin/bash: eval: line 0: `if then'
1
apps/server/src/provider/Drivers/ClaudeSkills.test.ts › "gives a synced namespace to an installed plugin, then the first synced row" creates both pstack and PSTACK. On a case-insensitive filesystem (macOS and Windows defaults) these resolve to the same directory, so the uppercase fixture overwrites the first fixture's plugin manifest and adds its skill to that directory.
Activity