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

fstests: add a test for finding a directory in a case insensitive way #4830

Nick Craig-Woodc8ab4f1d02a8
diff --git a/fstest/fstests/fstests.go b/fstest/fstests/fstests.go
index 8bb575074..b88559f70 100644
--- a/fstest/fstests/fstests.go
+++ b/fstest/fstests/fstests.go
@@ -1010,6 +1010,8 @@ func Run(t *testing.T, opt *Opt) {
}
obj := findObject(ctx, t, f, strings.ToUpper(file1.Path))
file1.Check(t, obj, f.Precision())
+ obj = findObject(ctx, t, f, strings.ToUpper(file2.Path))
+ file2.Check(t, obj, f.Precision())
})
// TestFsListFile1and2 tests two files present