"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
sync: fix testLoggerVsLsf checking wrong fs
nielashc1ebfb7e0440
diff --git a/fs/sync/sync_test.go b/fs/sync/sync_test.goindex 8853d7203..ae78f1c8a 100644--- a/fs/sync/sync_test.go+++ b/fs/sync/sync_test.go@@ -658,7 +658,7 @@ func TestServerSideCopyOverSelf(t *testing.T) {ctx = predictDstFromLogger(ctx)err = CopyDir(ctx, FremoteCopy, r.Fremote, false)require.NoError(t, err)- testLoggerVsLsf(ctx, r.Fremote, r.Flocal, operations.GetLoggerOpt(ctx).JSON, t)+ testLoggerVsLsf(ctx, FremoteCopy, r.Fremote, operations.GetLoggerOpt(ctx).JSON, t)fstest.CheckItems(t, FremoteCopy, file1)file2 := r.WriteObject(ctx, "sub dir/hello world", "hello world again", t2)@@ -667,7 +667,7 @@ func TestServerSideCopyOverSelf(t *testing.T) {ctx = predictDstFromLogger(ctx)err = CopyDir(ctx, FremoteCopy, r.Fremote, false)require.NoError(t, err)- testLoggerVsLsf(ctx, r.Fremote, r.Flocal, operations.GetLoggerOpt(ctx).JSON, t)+ testLoggerVsLsf(ctx, FremoteCopy, r.Fremote, operations.GetLoggerOpt(ctx).JSON, t)fstest.CheckItems(t, FremoteCopy, file2)}@@ -703,7 +703,7 @@ func TestServerSideMoveOverSelf(t *testing.T) {ctx = predictDstFromLogger(ctx)err = CopyDir(ctx, FremoteCopy, r.Fremote, false)require.NoError(t, err)- testLoggerVsLsf(ctx, r.Fremote, r.Flocal, operations.GetLoggerOpt(ctx).JSON, t)+ testLoggerVsLsf(ctx, FremoteCopy, r.Fremote, operations.GetLoggerOpt(ctx).JSON, t)fstest.CheckItems(t, FremoteCopy, file1)file2 := r.WriteObject(ctx, "sub dir/hello world", "hello world again", t2)