sync: fix tests on backends which can't have empty directories
This commit is contained in:
parent
5921bb0efd
commit
76798d5bb1
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ func testCopyMetadata(t *testing.T, createEmptySrcDirs bool) {
|
||||||
t.Skip("Skipping as metadata not supported")
|
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 content = "hello metadata world!"
|
||||||
const dirPath = "metadata sub dir"
|
const dirPath = "metadata sub dir"
|
||||||
const emptyDirPath = "empty metadata sub dir"
|
const emptyDirPath = "empty metadata sub dir"
|
||||||
|
|
Loading…
Reference in a new issue