aboutsummaryrefslogtreecommitdiff
path: root/tests/defaults
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-08-30 11:31:01 +0200
committerJakob Unterwurzacher2021-08-30 11:31:01 +0200
commit34d8a498c4899b1493f7bea16c22486d6725c9b1 (patch)
tree47677bc9a93e02fc5d8ae9b787e5e14b023be701 /tests/defaults
parent17fe50ef742869e50b18d90846436215f798b548 (diff)
Unbreak hyperlinks broken by go mod v2 conversion
Commit 69d88505fd7f4cb0d9e4f1918de296342fe05858 go mod: declare module version v2 translated all instances of "github.com/rfjakob/gocryptfs/" to "github.com/rfjakob/gocryptfs/v2/". Unfortunately, this included hyperlinks. Unbreak the hyperlinks like this: find . -name \*.go | xargs sed -i s%https://github.com/rfjakob/gocryptfs/v2/%https://github.com/rfjakob/gocryptfs/v2/%
Diffstat (limited to 'tests/defaults')
-rw-r--r--tests/defaults/acl_test.go4
-rw-r--r--tests/defaults/main_test.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/defaults/acl_test.go b/tests/defaults/acl_test.go
index 94d3c38..2ab5dc1 100644
--- a/tests/defaults/acl_test.go
+++ b/tests/defaults/acl_test.go
@@ -17,7 +17,7 @@ import (
"github.com/rfjakob/gocryptfs/v2/tests/test_helpers"
)
-// https://github.com/rfjakob/gocryptfs/v2/issues/543
+// https://github.com/rfjakob/gocryptfs/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/v2/issues/543
+// https://github.com/rfjakob/gocryptfs/issues/543
func TestAcl543(t *testing.T) {
fn1 := test_helpers.TmpDir + "/TestAcl543"
fn2 := test_helpers.DefaultPlainDir + "/TestAcl543"
diff --git a/tests/defaults/main_test.go b/tests/defaults/main_test.go
index 0acab2d..0045981 100644
--- a/tests/defaults/main_test.go
+++ b/tests/defaults/main_test.go
@@ -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/v2/issues/349")
+ t.Skip("mv on darwin chokes on broken symlinks, see https://github.com/rfjakob/gocryptfs/issues/349")
}
t.Fatal(err)
}