1
mirror of https://github.com/rclone/rclone synced 2024-12-21 11:45:56 +01:00
rclone/fstest
database64128 a7a8372976
🧪 fstest: fix time tests on Windows and add convenience methods to check local and remote fs with precision
Previously only the fs being checked on gets passed to
GetModifyWindow(). However, in most tests, the test files are
generated in the local fs and transferred to the remote fs. So the
local fs time precision has to be taken into account.

This meant that on Windows the time tests failed because the
local fs has a time precision of 100ns. Checking remote items uploaded
from local fs on Windows also requires a modify window of 100ns.
2021-11-09 11:43:36 +00:00
..
fstests Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00: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 Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testserver Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go 🧪 fstest: fix time tests on Windows and add convenience methods to check local and remote fs with precision 2021-11-09 11:43:36 +00:00
run.go 🧪 fstest: fix time tests on Windows and add convenience methods to check local and remote fs with precision 2021-11-09 11:43:36 +00:00