aboutsummaryrefslogtreecommitdiff
path: root/tests/defaults
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/defaults
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/defaults')
-rw-r--r--tests/defaults/acl_test.go6
-rw-r--r--tests/defaults/ctlsock_test.go4
-rw-r--r--tests/defaults/diriv_test.go2
-rw-r--r--tests/defaults/main_test.go4
-rw-r--r--tests/defaults/performance_test.go2
5 files changed, 9 insertions, 9 deletions
diff --git a/tests/defaults/acl_test.go b/tests/defaults/acl_test.go
index f3c707e..94d3c38 100644
--- a/tests/defaults/acl_test.go
+++ b/tests/defaults/acl_test.go
@@ -14,10 +14,10 @@ import (
"github.com/pkg/xattr"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
-// https://github.com/rfjakob/gocryptfs/issues/543
+// https://github.com/rfjakob/gocryptfs/v2/issues/543
func TestCpA(t *testing.T) {
fn1 := filepath.Join(test_helpers.TmpDir, t.Name())
fn2 := filepath.Join(test_helpers.DefaultPlainDir, t.Name())
@@ -77,7 +77,7 @@ func getfacl(fn string) (string, error) {
return string(out), err
}
-// https://github.com/rfjakob/gocryptfs/issues/543
+// https://github.com/rfjakob/gocryptfs/v2/issues/543
func TestAcl543(t *testing.T) {
fn1 := test_helpers.TmpDir + "/TestAcl543"
fn2 := test_helpers.DefaultPlainDir + "/TestAcl543"
diff --git a/tests/defaults/ctlsock_test.go b/tests/defaults/ctlsock_test.go
index ac64f42..78841b9 100644
--- a/tests/defaults/ctlsock_test.go
+++ b/tests/defaults/ctlsock_test.go
@@ -5,8 +5,8 @@ import (
"syscall"
"testing"
- "github.com/rfjakob/gocryptfs/ctlsock"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/ctlsock"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
func TestCtlSock(t *testing.T) {
diff --git a/tests/defaults/diriv_test.go b/tests/defaults/diriv_test.go
index bf8f233..639b33d 100644
--- a/tests/defaults/diriv_test.go
+++ b/tests/defaults/diriv_test.go
@@ -9,7 +9,7 @@ import (
"testing"
"time"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
func TestDirIVRace(t *testing.T) {
diff --git a/tests/defaults/main_test.go b/tests/defaults/main_test.go
index ddaca68..0acab2d 100644
--- a/tests/defaults/main_test.go
+++ b/tests/defaults/main_test.go
@@ -14,7 +14,7 @@ import (
"syscall"
"testing"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
func TestMain(m *testing.M) {
@@ -239,7 +239,7 @@ func TestMvWarningSymlink(t *testing.T) {
if err != nil {
t.Log(string(out))
if runtime.GOOS == "darwin" {
- t.Skip("mv on darwin chokes on broken symlinks, see https://github.com/rfjakob/gocryptfs/issues/349")
+ t.Skip("mv on darwin chokes on broken symlinks, see https://github.com/rfjakob/gocryptfs/v2/issues/349")
}
t.Fatal(err)
}
diff --git a/tests/defaults/performance_test.go b/tests/defaults/performance_test.go
index a2ecf8c..11d827f 100644
--- a/tests/defaults/performance_test.go
+++ b/tests/defaults/performance_test.go
@@ -8,7 +8,7 @@ import (
"os"
"testing"
- "github.com/rfjakob/gocryptfs/tests/test_helpers"
+ "github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
// Benchmarks