"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
fstests: Suggest that Purge on a nonexistent dir should return fs.ErrorDirNotFound
Nick Craig-Wood63e4d2952b0c
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex 857686853..5ea310e95 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -1874,6 +1874,9 @@ func Run(t *testing.T, opt *Opt) {if !isBucketBasedButNotRoot(remote) {err = operations.Purge(ctx, remote, "")assert.Error(t, err, "Expecting error after on second purge")+ if errors.Cause(err) != fs.ErrorDirNotFound {+ t.Log("Warning: this should produce fs.ErrorDirNotFound")+ }}})