libbrillo: Rework SafeFD Rmdir unit tests

Rework tests to remove assumptions about directory iteration order.

Re-enable SafeFDTest.Rmdir_Recursive_StopOnError.

BUG=chromium:1077705
TEST=cros_workon_make --board=${BOARD} chromeos-base/libbrillo --test

Change-Id: I0861fa5629c706d983917f0c3433ad64906997aa
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/2184051
Tested-by: Ereth McKnight-MacNeil <ereth@chromium.org>
Reviewed-by: Allen Webb <allenwebb@google.com>
Commit-Queue: Ereth McKnight-MacNeil <ereth@chromium.org>
Cr-Mirrored-From: https://chromium.googlesource.com/chromiumos/platform2
Cr-Mirrored-Commit: fae117d85c052b587e4c4804e39c03ff1adb9e1c
1 file changed
tree: f906c2144e40ca9fffaf146eae29d9668ded749f
  1. brillo/
  2. install_attributes/
  3. policy/
  4. BUILD.gn
  5. libpolicy.ver
  6. OWNERS
  7. PRESUBMIT.cfg
  8. README.md
  9. testrunner.cc
README.md

libbrillo: platform utility library

libbrillo is a shared library meant to hold common utility code that we deem useful for platform projects. It supplements the functionality provided by libbase/libchrome since that project, by design, only holds functionality that Chromium (the browser) needs. As a result, this tends to be more OS-centric code.

AOSP Usage

This project is also used by Update Engine which is maintained in AOSP. However, AOSP doesn't use this codebase directly, it maintains its own libbrillo fork.

To help keep the projects in sync, we have a gsubtree set up on our GoB: https://chromium.googlesource.com/chromiumos/platform2/libbrillo/

This allows AOSP to cherry pick or merge changes directly back into their fork.