mirror of https://github.com/restic/restic.git
run_tests: Do not ignore subdirs of empty dirs
This commit is contained in:
parent
da2e9d447f
commit
002c7883c3
|
@ -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)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue