From 793edf4cb4597751b7f2b7b913a5ab7fa3d50373 Mon Sep 17 00:00:00 2001 From: Ting-Yu Wang Date: Tue, 23 Jun 2020 16:05:39 -0700 Subject: 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 --- test/syscalls/linux/proc.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/syscalls/linux/proc.cc b/test/syscalls/linux/proc.cc index 923699ed3..da8f30f32 100644 --- a/test/syscalls/linux/proc.cc +++ b/test/syscalls/linux/proc.cc @@ -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)); } -- cgit v1.2.3