aboutsummaryrefslogtreecommitdiff
path: root/tests/xattr
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-23 15:05:15 +0200
committerJakob Unterwurzacher2021-08-23 15:05:15 +0200
commit69d88505fd7f4cb0d9e4f1918de296342fe05858 (patch)
treebbe102cb74b8d17b39ef16e3ab9b32cf94a314a4 /tests/xattr
parentc9abfc8f06e1e0ce8e8b7ca480507647572a5df7 (diff)
go mod: declare module version v2
Our git version is v2+ for some time now, but go.mod still declared v1. Hopefully making both match makes https://pkg.go.dev/github.com/rfjakob/gocryptfs/v2 work. All the import paths have been fixed like this: find . -name \*.go | xargs sed -i s%github.com/rfjakob/gocryptfs/%github.com/rfjakob/gocryptfs/v2/%
Diffstat (limited to 'tests/xattr')
-rw-r--r--tests/xattr/xattr_fd_test.go2
-rw-r--r--tests/xattr/xattr_integration_test.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/xattr/xattr_fd_test.go b/tests/xattr/xattr_fd_test.go
index 7415e54..76fc3ab 100644
--- a/tests/xattr/xattr_fd_test.go
+++ b/tests/xattr/xattr_fd_test.go
@@ -11,7 +11,7 @@ import (
"golang.org/x/sys/unix"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
func TestFdXattr(t *testing.T) {
diff --git a/tests/xattr/xattr_integration_test.go b/tests/xattr/xattr_integration_test.go
index be48fc0..efe903b 100644
--- a/tests/xattr/xattr_integration_test.go
+++ b/tests/xattr/xattr_integration_test.go
@@ -18,8 +18,8 @@ import (
"github.com/pkg/xattr"
- "github.com/rfjakob/gocryptfs/internal/cryptocore"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/internal/cryptocore"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
func TestMain(m *testing.M) {