syncthing/test
Jakob Borg a3c724f2c3
all: Add build constants for runtime.GOOS comparisons (#8442)
all: Add package runtimeos for runtime.GOOS comparisons

I grew tired of hand written string comparisons. This adds generated
constants for the GOOS values, and predefined Is$OS constants that can
be iffed on. In a couple of places I rewrote trivial switch:es to if:s,
and added Illumos where we checked for Solaris (because they are
effectively the same, and if we're going to target one of them that
would be Illumos...).
2022-07-28 19:36:39 +02:00
..
h1 test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +02:00
h2 test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +02:00
h3 test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +02:00
h4 test, lib/model: Various integration test updates & improvements (#6956) 2020-09-07 09:35:37 +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 Normalize CLI options to always use two dashes. (#8037) 2021-11-04 08:42:55 +01:00
conflict_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
delay_scan_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
filetype_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +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 all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
ignore_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
manypeers_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
override_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
parallell_scan_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
reconnect_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
reset_test.go all: Remove usage of deprecated io/ioutil (#7971) 2021-11-22 08:59:47 +01:00
scan_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
symlink_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
sync_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
transfer-bench_test.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
usage_unix.go all: Add build constants for runtime.GOOS comparisons (#8442) 2022-07-28 19:36:39 +02:00
usage_windows.go all: Update build constraints to Go 1.17 style (#7894) 2021-08-17 10:10:41 +02:00
util.go all: Add build constants for runtime.GOOS comparisons (#8442) 2022-07-28 19:36:39 +02:00