Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

serve restic: fix tests after restic project removed vendoring

Nick Craig-Wood36717c7d9828
diff --git a/cmd/serve/restic/restic_test.go b/cmd/serve/restic/restic_test.go
index bd3bc7cf1..23b3c77bb 100644
--- a/cmd/serve/restic/restic_test.go
+++ b/cmd/serve/restic/restic_test.go
@@ -61,6 +61,7 @@ func TestRestic(t *testing.T) {
cmd := exec.Command("go", args...)
cmd.Env = append(os.Environ(),
"RESTIC_TEST_REST_REPOSITORY=rest:"+w.Server.URL()+path,
+ "GO111MODULE=on",
)
out, err := cmd.CombinedOutput()
if len(out) != 0 {