hashicorp / hashicorp/go-rootcerts
Dependency test fails with go modules
Open
- Dominant language
- Go
- Stars
- 84
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
Since modules does not support symlinks (see https://github.com/golang/go/issues/24057#issuecomment-377430635), 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?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.