Skip to content

fix: add Homebrew to PATH in acceptance-test, robust perms check#19

Merged
amcheste merged 1 commit into
mainfrom
fix/acceptance-test-path
Mar 29, 2026
Merged

fix: add Homebrew to PATH in acceptance-test, robust perms check#19
amcheste merged 1 commit into
mainfrom
fix/acceptance-test-path

Conversation

@amcheste
Copy link
Copy Markdown
Owner

Summary

  • acceptance-test.sh runs as bash /tmp/acceptance-test.sh — a non-login, non-interactive shell that never sources .zprofile. This means /opt/homebrew/bin is absent and every command -v check fails even though the tools are installed.
  • Fixed by adding /opt/homebrew/bin:/opt/homebrew/sbin to PATH at the top of the script.
  • Also replaced the stat -f "%Mp%Lp" permissions check with find -perm 0600 which is unambiguous across macOS versions.

Test plan

  • Re-run scripts/vm-acceptance-test.sh — all tool PATH checks should pass
  • Verify CI validate checks pass

🤖 Generated with Claude Code

…s check

acceptance-test.sh runs via non-login bash (no .zprofile sourced), so
/opt/homebrew/bin is absent from PATH — all command-v checks fail.
Also replace the stat -f "%Mp%Lp" permissions check with find -perm 0600
which is unambiguous across macOS versions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@amcheste amcheste merged commit 25413b1 into main Mar 29, 2026
3 checks passed
@amcheste amcheste deleted the fix/acceptance-test-path branch March 29, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant