rclone/fstest
Nick Craig-Wood 8b8156f7c3 chunker,compress,crypt,hasher,union: fix rclone move a file over itself deleting the file
This fixes the Root() returned by the backend when it has returned
fs.ErrorIsFile.

Before this change it returned a root which included the file path.

Because Root() was wrong this caused the detection of the file being
moved over itself check to fail.

This adds an integration test to check it for all backends.

See: https://forum.rclone.org/t/rclone-move-chunker-dir-file-chunker-dir-deletes-all-file-chunks/43333/
2024-01-05 16:19:19 +00:00
..
fstests chunker,compress,crypt,hasher,union: fix rclone move a file over itself deleting the file 2024-01-05 16:19:19 +00: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 test_all: make integration test for serve s3 2023-11-24 20:47:06 +00:00
testserver test_all: make integration test for serve s3 2023-11-24 20:47:06 +00:00
testy testy: test utility functions 2020-06-15 21:34:37 +01:00
fstest.go protondrive: add protondrive backend - fixes #6072 2023-07-22 10:46:21 +01:00
run.go test: replace defer cleanup with `t.Cleanup` 2022-12-09 14:38:05 +00:00