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

Dependency test fails with go modules #6

Open
simonklb opened this issue Feb 4, 2019 · 0 comments
Open

Dependency test fails with go modules #6

simonklb opened this issue Feb 4, 2019 · 0 comments

Comments

@simonklb
Copy link

simonklb commented Feb 4, 2019

Since modules does not support symlinks (see golang/go#24057 (comment)), dependency testing (e.g. go test all in a module that has go-rootcerts as a dependency) fails:

--- FAIL: TestLoadCACertsFromDirWithSymlinks (0.00s)
    rootcerts_test.go:44: err: lstat test-fixtures/capath-with-symlinks: no such file or directory
FAIL
FAIL	github.com/hashicorp/go-rootcerts	0.008s

Could the test possibly create a temporary symlink instead?

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

No branches or pull requests

1 participant