1
mirror of https://github.com/rclone/rclone synced 2024-12-25 17:03:45 +01:00
rclone/fstest
Nick Craig-Wood 8cd3251b57 fstests: Relax MimeType support checking #5587
Before this change we checked that features.ReadMimeTime was set if
and only if the Object.MimeType method was implemented.

However this test is overly general - we don't care if Objects
advertise MimeType when features.ReadMimeTime is set provided that
they always return an empty string (which is what a wrapping backend
might do).

This patch implements that logic.
2021-10-20 19:11:54 +03:00
..
fstests fstests: Relax MimeType support checking #5587 2021-10-20 19:11:54 +03:00
mockdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mockfs test: Add context to mockfs.NewFs #3257 #4685 2020-11-09 18:05:54 +00:00
mockobject fstest: add ability for mock objects and filesystems to have hashes 2020-06-30 12:01:36 +01:00
test_all sia: fix and enable integration tests #4514 2021-10-19 22:55:27 +03:00
testserver sia: fix and enable integration tests #4514 2021-10-19 22:55:27 +03:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go config: delay load config file (#5258) 2021-04-26 23:37:49 +02:00
run.go lib/file: improve error message when attempting to create dir on nonexistent drive on windows 2021-10-01 23:18:39 +02:00