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:
Ting-Yu Wang 2020-06-23 16:05:39 -07:00 committed by gVisor bot
parent edea9a8d02
commit 793edf4cb4
1 changed files with 0 additions and 2 deletions

View File

@ -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));
}