1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 08:16:36 +00:00

run_tests: Do not ignore subdirs of empty dirs

This commit is contained in:
Alexander Neumann 2015-06-13 12:26:38 +02:00
parent da2e9d447f
commit 002c7883c3

View file

@ -144,10 +144,14 @@ func main() {
return nil
}
if specialDir(p) || emptyDir(p) {
if specialDir(p) {
return filepath.SkipDir
}
if emptyDir(p) {
return nil
}
return testPackage(forceRelativeDirname(p), file)
})