"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
testing: add -remote flag to allow unit tests to run on other remotes
Nick Craig-Wood40b3c4883ffb
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex 4d6e8dd87..dcae74546 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -5,6 +5,7 @@ import ("bytes""crypto/md5""encoding/hex"+ "flag""io""log""os"@@ -32,11 +33,16 @@ var (})+func init() {+ flag.StringVar(&RemoteName, "remote", "", "Set this to override the default remote name (eg s3:)")+}+func TestInit(t *testing.T) {var err errorfs.LoadConfig()fs.Config.Verbose = falsefs.Config.Quiet = true+ t.Logf("Using remote %q", RemoteName)if RemoteName == "" {RemoteName, err = fstest.LocalRemote()if err != nil {