"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: ignore main directory creation in TestFsChangeNotify
Nick Craig-Wood0f03e55cd13c
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex b6ad688b7..8222947e4 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -1005,7 +1005,11 @@ func Run(t *testing.T, opt *Opt) {return}if e == fs.EntryDirectory {- dirChanges = append(dirChanges, x)+ if x != "dir" {+ // ignore the base directory creation which we sometimes+ // catch and sometimes don't+ dirChanges = append(dirChanges, x)+ }} else if e == fs.EntryObject {objChanges = append(objChanges, x)}