Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

fs: fix --immutable tests on remotes which don't have modtime

Nick Craig-Wood2857ed5c35e5
diff --git a/fs/sync_test.go b/fs/sync_test.go
index 33b4fe20a..1335179c9 100644
--- a/fs/sync_test.go
+++ b/fs/sync_test.go
@@ -1018,7 +1018,7 @@ func TestSyncImmutable(t *testing.T) {
fstest.CheckItems(t, r.fremote, file1)
// Modify file data and timestamp on source
- file2 := r.WriteFile("existing", "tomato", t2)
+ file2 := r.WriteFile("existing", "tomatoes", t2)
fstest.CheckItems(t, r.flocal, file2)
fstest.CheckItems(t, r.fremote, file1)