"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
fstest: fix parsing of commas in -remotes
nielashf7968aad1cd5
diff --git a/fstest/test_all/test_all.go b/fstest/test_all/test_all.goindex f1b40c34d..07328387b 100644--- a/fstest/test_all/test_all.go+++ b/fstest/test_all/test_all.go@@ -11,6 +11,7 @@ Make TesTrun have a []string of flags to try - that then makes it generic*/import (+ "encoding/csv""flag""fmt""math/rand"@@ -79,7 +80,14 @@ func main() {// Filter selectionif *testRemotes != "" {- conf.filterBackendsByRemotes(strings.Split(*testRemotes, ","))+ // CSV parse to support connection string remotes with commas like -remotes local,\"TestGoogleCloudStorage,directory_markers:\"+ r := csv.NewReader(strings.NewReader(*testRemotes))+ remotes, err := r.Read()+ if err != nil {+ fs.Fatalf(*testRemotes, "error CSV-parsing -remotes string: %v", err)+ }+ fs.Debugf(*testRemotes, "using remotes: %v", remotes)+ conf.filterBackendsByRemotes(remotes)}if *testBackends != "" {conf.filterBackendsByBackends(strings.Split(*testBackends, ","))