1
mirror of https://github.com/rclone/rclone synced 2024-11-15 14:57:03 +01:00
rclone/fstest
nielash f62e7b5b30 memory: fix incorrect list entries when rooted at subdirectory
Before this change, List would return incorrect directory paths (relative to the
wrong root) if the Fs root pointed to a subdirectory. For example, listing dir
"a/b/c/d" of remote :memory: would work correctly, but listing dir "c/d" of
remote :memory:a/b would not, and would result in "Entry doesn't belong in
directory %q (contains subdir)" errors.

This change fixes the issue and adds a test to detect any other backends that
might have the same issue.
2024-03-27 11:43:26 -04:00
..
fstests memory: fix incorrect list entries when rooted at subdirectory 2024-03-27 11:43:26 -04:00
mockdir build: fix up package paths after repo move 2019-07-28 18:47:38 +01:00
mockfs mockfs: make it so it can be registered as an Fs 2023-04-28 14:31:05 +01:00
mockobject mockobject: fix SetUnknownSize method to obey parameter passed in 2023-11-20 18:07:05 +00:00
test_all bisync: add to integration tests - fixes #7665 2024-03-27 10:50:14 -04:00
testserver Version v1.66.0 2024-03-10 11:22:43 +00:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go sync: fix TestMoveEmptyDirectories so they work on backends which don't support DirModTimes 2024-03-01 10:56:48 +00:00
run.go sync: fix TestMoveEmptyDirectories so they work on backends which don't support DirModTimes 2024-03-01 10:56:48 +00:00