Skip to content

test(config): skip symlink test when OS cannot create one - #79

Closed
panshularora wants to merge 1 commit into
c2siorg:mainfrom
panshularora:test/skip-windows-symlink
Closed

panshularora wants to merge 1 commit into
c2siorg:mainfrom
panshularora:test/skip-windows-symlink

Conversation

@panshularora

Copy link
Copy Markdown

Ran go test ./... on Windows 11 without Developer Mode. TestLoadResolvesRelativePolicyDirViaConfigSymlink is the only failure — os.Symlink needs a privilege most default Windows setups don't have.

Skip that case instead of failing the package. Linux/macOS (and Windows with Developer Mode) still run it.

Related: #18

@panshularora

Copy link
Copy Markdown
Author

Superseded by #85 skip alone never ran on Windows CI

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