diff options
author | Ting-Yu Wang <anivia@google.com> | 2020-06-23 16:05:39 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-23 16:07:26 -0700 |
commit | 793edf4cb4597751b7f2b7b913a5ab7fa3d50373 (patch) | |
tree | fd349a9890280a6752b7344dffb08317eff55bd1 | |
parent | edea9a8d02d9877a05bb14046a26ebd9633f34f6 (diff) |
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
-rw-r--r-- | test/syscalls/linux/proc.cc | 2 |
1 files changed, 0 insertions, 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)); } |