"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: don't error out if the target was not found at end of run
Nick Craig-Woodebd77801882e
diff --git a/fstest/run.go b/fstest/run.goindex 8812d30b7..cb54d1781 100644--- a/fstest/run.go+++ b/fstest/run.go@@ -127,7 +127,7 @@ func NewRun(t *testing.T) *Run {*r = *oneRunr.cleanRemote = func() {var toDelete dirsToRemove- require.NoError(t, fs.Walk(r.Fremote, "", true, -1, func(dirPath string, entries fs.DirEntries, err error) error {+ err := fs.Walk(r.Fremote, "", true, -1, func(dirPath string, entries fs.DirEntries, err error) error {if err != nil {if err == fs.ErrorDirNotFound {return nil@@ -146,7 +146,11 @@ func NewRun(t *testing.T) *Run {}}return nil- }))+ })+ if err == fs.ErrorDirNotFound {+ return+ }+ require.NoError(t, err)sort.Sort(toDelete)for _, dir := range toDelete {err := r.Fremote.Rmdir(dir)