aboutsummaryrefslogtreecommitdiff
path: root/tests/reverse
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/reverse
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/reverse')
-rw-r--r--tests/reverse/correctness_test.go2
-rw-r--r--tests/reverse/exclude_test.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/reverse/correctness_test.go b/tests/reverse/correctness_test.go
index 3b25112..090a468 100644
--- a/tests/reverse/correctness_test.go
+++ b/tests/reverse/correctness_test.go
@@ -185,7 +185,7 @@ func TestEnoent(t *testing.T) {
// If the symlink target gets too long due to base64 encoding, we should
// return ENAMETOOLONG instead of having the kernel reject the data and
// returning an I/O error to the user.
-// https://github.com/rfjakob/gocryptfs/v2/issues/167
+// https://github.com/rfjakob/gocryptfs/issues/167
func TestTooLongSymlink(t *testing.T) {
var err error
var l int
diff --git a/tests/reverse/exclude_test.go b/tests/reverse/exclude_test.go
index e37050c..f24ff2c 100644
--- a/tests/reverse/exclude_test.go
+++ b/tests/reverse/exclude_test.go
@@ -128,7 +128,7 @@ func TestExcludeTestFs(t *testing.T) {
}
// Exclude everything using "/*", then selectively include only dir1 using "!/dir1"
-// https://github.com/rfjakob/gocryptfs/v2/issues/588
+// https://github.com/rfjakob/gocryptfs/issues/588
func TestExcludeAllOnlyDir1(t *testing.T) {
// --exclude-wildcard patterns, gitignore syntax
patterns := []string{