mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 07:29:35 +01:00
fstests: ignore main directory creation in TestFsChangeNotify
This commit is contained in:
parent
9e6ba92a11
commit
0f03e55cd1
@ -1005,7 +1005,11 @@ func Run(t *testing.T, opt *Opt) {
|
||||
return
|
||||
}
|
||||
if e == fs.EntryDirectory {
|
||||
dirChanges = append(dirChanges, x)
|
||||
if x != "dir" {
|
||||
// ignore the base directory creation which we sometimes
|
||||
// catch and sometimes don't
|
||||
dirChanges = append(dirChanges, x)
|
||||
}
|
||||
} else if e == fs.EntryObject {
|
||||
objChanges = append(objChanges, x)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user