GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cmd/tailcat: make integration tests portable on Windows by FenjuFu · Pull Request #34 · tailscale/tailcat

Conversation

@FenjuFu

@FenjuFu FenjuFu commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • build command integration-test binaries with the Windows .exe suffix when needed
  • share the build helper across TestLocalDERPMode, TestPipeMode, and TestSOCKSClientKey
  • use a cross-platform no-op child command for the SOCKS allowlist test

On Windows, the tests previously built tailcat.exe but attempted to execute the extensionless tailcat path. After that was fixed, the SOCKS test also exposed its dependency on the POSIX-only true command.

The changes are test-only and do not affect Tailcat runtime behavior.

Validation

Run on Windows/amd64 with Go 1.26.5:

  • go test ./cmd/tailcat -run "Test(LocalDERPMode|PipeMode|SOCKSClientKey)$" -count=1 -v -timeout 5m
  • go test ./... -count=1 -timeout 10m
  • go vet ./...
  • git diff --check

All passed.

Fixes #32

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@FenjuFu
cmd/tailcat: make integration tests portable on Windows
0823967
Fixes tailscale#32

Signed-off-by: FenjuFu <[email protected]>
@bradfitz

bradfitz commented Aug 30, 2026

Copy link
Copy Markdown
Member

Whoops, sorry, I saw your earlier comment on this problem and went off and fixed it independently before seeing your PR. It was fixed in e008dbe

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bradfitz bradfitz closed this Aug 30, 2026
@bradfitz bradfitz reopened this Aug 30, 2026
@bradfitz
bradfitz merged commit 1075afa into tailscale:main Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

cmd/tailcat: use .exe suffix for integration test binaries on Windows

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@FenjuFu @bradfitz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.