test_all: add the vfs tests to the integration tests
Fix failing tests for some remotes
This commit is contained in:
parent
14ef4437e5
commit
ac7e1dbf62
6 changed files with 57 additions and 4 deletions
|
@ -468,6 +468,12 @@ func TestDirRemoveName(t *testing.T) {
|
|||
func TestDirRename(t *testing.T) {
|
||||
r := fstest.NewRun(t)
|
||||
defer r.Finalise()
|
||||
|
||||
features := r.Fremote.Features()
|
||||
if features.DirMove == nil && features.Move == nil && features.Copy == nil {
|
||||
return // skip as can't rename directories
|
||||
}
|
||||
|
||||
vfs, dir, file1 := dirCreate(t, r)
|
||||
file3 := r.WriteObject("dir/file3", "file3 contents!", t1)
|
||||
fstest.CheckListingWithPrecision(t, r.Fremote, []fstest.Item{file1, file3}, []string{"dir"}, r.Fremote.Precision())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue