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

operations: fix TestRemoveExisting on crypt backends by shortening the file name

Nick Craig-Woode50f995d879d
diff --git a/fs/operations/operations_test.go b/fs/operations/operations_test.go
index 2a5c3cb6c..3f02c1bf1 100644
--- a/fs/operations/operations_test.go
+++ b/fs/operations/operations_test.go
@@ -1893,7 +1893,7 @@ func TestRemoveExisting(t *testing.T) {
}
file1 := r.WriteObject(ctx, "sub dir/test remove existing", "hello world", t1)
- file2 := r.WriteObject(ctx, "sub dir/test remove existing with long name 1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890", "hello long name world", t1)
+ file2 := r.WriteObject(ctx, "sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789", "hello long name world", t1)
r.CheckRemoteItems(t, file1, file2)