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:
parent
da2e9d447f
commit
002c7883c3
1 changed files with 5 additions and 1 deletions
|
@ -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 a new issue