mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 17:14:44 +01:00
sync: fix tests on backends which can't have empty directories
This commit is contained in:
parent
5921bb0efd
commit
76798d5bb1
@ -97,6 +97,10 @@ func testCopyMetadata(t *testing.T, createEmptySrcDirs bool) {
|
||||
t.Skip("Skipping as metadata not supported")
|
||||
}
|
||||
|
||||
if createEmptySrcDirs && !features.CanHaveEmptyDirectories {
|
||||
t.Skip("Skipping as can't have empty directories")
|
||||
}
|
||||
|
||||
const content = "hello metadata world!"
|
||||
const dirPath = "metadata sub dir"
|
||||
const emptyDirPath = "empty metadata sub dir"
|
||||
|
Loading…
Reference in New Issue
Block a user