Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes to compile and run on Windows #257

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ringerc
Copy link
Contributor

@ringerc ringerc commented Feb 5, 2025

Fix compilation on GOOS=windows for the main binary and tests, both of which were broken.

Fix a leaked open file handle which caused config_test.go to fail on windows with "Sharing violation" errors when cleaning up the tempdir.

Add a 'test-wine' Makefile target. Explain how to run the tests for windows via wine in the readme.

Split from #252

Fix compilation on GOOS=windows for the main binary and tests,
both of which were broken.

Fix a leaked open file handle which caused config_test.go to fail
on windows with "Sharing violation" errors when cleaning up the
tempdir.

Add a 'test-wine' Makefile target. Explain how to run the tests
for windows via wine in the readme.

Signed-off-by: Craig Ringer <[email protected]>
ringerc added a commit to ringerc/spiffe-helper-PRs that referenced this pull request Feb 5, 2025
… into retry-signal-pid-file

These are tracked by PRs

* spiffe#258 for test suite
* spiffe#257 for windows

Once they are merged the upcoming commit can be merged in its own PR
@@ -7,6 +7,9 @@ rpm/*.rpm
*.swp
*.swo
bootstrap.crt
# for 'go test -c ./...' output
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# for 'go test -c ./...' output
# for 'go test -c ./...' output

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.

2 participants