"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
fstest: add test for reading object in a case insensitive way #4830
Nick Craig-Woodb81b6da3fc9c
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.goindex 641a67f40..854287c4c 100644--- a/fstest/fstests/fstests.go+++ b/fstest/fstests/fstests.go@@ -999,6 +999,16 @@ func Run(t *testing.T, opt *Opt) {file1.Check(t, obj, f.Precision())})+ // FsNewObjectCaseInsensitive tests NewObject on a case insensitive file system+ t.Run("FsNewObjectCaseInsensitive", func(t *testing.T) {+ skipIfNotOk(t)+ if !f.Features().CaseInsensitive {+ t.Skip("Not Case Insensitive")+ }+ obj := findObject(ctx, t, f, strings.ToUpper(file1.Path))+ file1.Check(t, obj, f.Precision())+ })+// TestFsListFile1and2 tests two files presentt.Run("FsListFile1and2", func(t *testing.T) {skipIfNotOk(t)