hashicorp / hashicorp/go-rootcerts

Dependency test fails with go modules

Open
#6 0 comments 2 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.