1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

test_all: add the vfs tests to the integration tests

Fix failing tests for some remotes
This commit is contained in:
Nick Craig-Wood
2019-02-27 17:14:32 +00:00
parent 14ef4437e5
commit ac7e1dbf62
6 changed files with 57 additions and 4 deletions

View File

@@ -232,6 +232,10 @@ func TestVFSOpenFile(t *testing.T) {
func TestVFSRename(t *testing.T) {
r := fstest.NewRun(t)
defer r.Finalise()
features := r.Fremote.Features()
if features.Move == nil && features.Copy == nil {
return // skip as can't rename files
}
vfs := New(r.Fremote, nil)
file1 := r.WriteObject("dir/file2", "file2 contents", t2)