"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
acd: Skip test on FS which don't support ModifiedTime
Nick Craig-Woodfec16b0ac8dd
diff --git a/fs/operations_test.go b/fs/operations_test.goindex 2a9137cda..69da0a14a 100644--- a/fs/operations_test.go+++ b/fs/operations_test.go@@ -346,6 +346,14 @@ func TestSyncAfterChangingFilesSizeOnly(t *testing.T) {// Sync after changing a file's contents, modtime but not lengthfunc TestSyncAfterChangingContentsOnly(t *testing.T) {+ if fremote.Precision() == fs.ModTimeNotSupported {+ t.Logf("ModTimeNotSupported so forcing file to be a different size")+ WriteFile("potato", "different size to make sure it syncs", t2)+ err := fs.Sync(fremote, flocal)+ if err != nil {+ t.Fatalf("Sync failed: %v", err)+ }+ }WriteFile("potato", "SMALLER BUT SAME DATE", t2)err := fs.Sync(fremote, flocal)if err != nil {