Deflake proc test: Don't fail on DT_UNKNOWN.
Per manual page: "All applications must properly handle a return of DT_UNKNOWN." PiperOrigin-RevId: 317957013
This commit is contained in:
parent
edea9a8d02
commit
793edf4cb4
|
@ -1998,8 +1998,6 @@ void CheckDuplicatesRecursively(std::string path) {
|
|||
}
|
||||
children.insert(std::string(dp->d_name));
|
||||
|
||||
ASSERT_NE(dp->d_type, DT_UNKNOWN);
|
||||
|
||||
if (dp->d_type == DT_DIR) {
|
||||
child_dirs.push_back(std::string(dp->d_name));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue