Skip to content

[test] make internal/install tests hermetic: remove /usr/local/bin/guild hard-coding #84

Description

@kunallanjewar

Summary

internal/install/mcp_install_test.go:678 hard-codes /usr/local/bin/guild as a test fixture string. This bakes a specific install location into the suite and can cause behavior to differ between contributor machines and CI runners.

Affected files

  • internal/install/mcp_install_test.go (line 678)

Acceptance

  • Test fixture uses a synthesized or temp-dir path instead of the hard-coded one.
  • Test passes identically across macOS, Linux, and Windows regardless of system layout.
  • go test ./internal/install/... clean.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions