syncthing/test
Simon Frei 932d8c69de lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708)
With this change we emulate a case sensitive filesystem on top of
insensitive filesystems. This means we correctly pick up case-only renames
and throw a case conflict error when there would be multiple files differing
only in case.

This safety check has a small performance hit (about 20% more filesystem
operations when scanning for changes). The new advanced folder option
`caseSensitiveFS` can be used to disable the safety checks, retaining the
previous behavior on systems known to be fully case sensitive.

Co-authored-by: Jakob Borg <jakob@kastelo.net>
2020-07-28 11:15:11 +02:00
..
h1 build: Update integration tests and add to build.go (#6744) 2020-06-16 14:33:17 +02:00
h2 build: Update integration tests and add to build.go (#6744) 2020-06-16 14:33:17 +02:00
h3 build: Update integration tests and add to build.go (#6744) 2020-06-16 14:33:17 +02:00
h4 test: Migrate test configs to current version 2018-06-08 12:39:17 +02:00
logs Improvements to integration tests 2015-01-22 00:18:08 +00:00
.gitignore Add devices without restart (fixes #2083) 2015-07-22 10:43:47 +02:00
cli_test.go test: Clean & unflake cli & conflict tests 2017-11-13 01:06:16 +01:00
conflict_test.go test: Update conflict integration test (ref #5511) (#5618) 2019-03-25 12:53:06 +01:00
delay_scan_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
filetype_test.go test: Get integration tests up to speed (config, build and test fixes) (#5962) 2019-08-20 10:17:11 +02:00
folders.sh lib/config, lib/model: Limit concurrent pulls (fixes #5914) (#6290) 2020-01-27 17:31:17 +01:00
http_test.go test: Clean & unflake HTTP / filetype tests 2017-11-13 01:00:49 +01:00
ignore_test.go test: Clean and unflake ignore / manupeers / reconnect / override tests 2017-11-13 01:00:36 +01:00
manypeers_test.go test: Clean and unflake ignore / manupeers / reconnect / override tests 2017-11-13 01:00:36 +01:00
override_test.go test: Get integration tests up to speed (config, build and test fixes) (#5962) 2019-08-20 10:17:11 +02:00
parallell_scan_test.go all: Update license url to https (ref #3976) 2017-02-09 08:04:16 +01:00
reconnect_test.go lib/model: Properly schedule pull on reconnect (fixes #4504) 2017-11-17 12:11:45 +00:00
reset_test.go test: Get integration tests up to speed (config, build and test fixes) (#5962) 2019-08-20 10:17:11 +02:00
scan_test.go test: Unflake symlink/scan tests 2017-11-13 00:25:07 +01:00
symlink_test.go test: Get integration tests up to speed (config, build and test fixes) (#5962) 2019-08-20 10:17:11 +02:00
sync_test.go all: Tweak error creation (#6391) 2020-03-03 22:40:00 +01:00
transfer-bench_test.go lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708) 2020-07-28 11:15:11 +02:00
usage_unix.go test: Report time per MiB on transfer benchs (#5711) 2019-05-18 08:46:08 +02:00
usage_windows.go build: Update integration tests and add to build.go (#6744) 2020-06-16 14:33:17 +02:00
util.go lib/fs: Properly handle case insensitive systems (fixes #1787, fixes #2739, fixes #5708) 2020-07-28 11:15:11 +02:00