The test checks that a local-log cannot be started twice (without a stop in between). For the current implementation (as of the time of opening this bug), this correctly catches a DCHECK in the UUT (unit under test):
DCHECK(local_logs_.find({render_process_id, lid}) == local_logs_.end());
However, even if a bug were introduced, and this DCHECK removed, the test would still pass. The problem is likely due to having multiple processes (due to the death-test's fork) and file ownership.
Comment 1 by mattcary@chromium.org
, Dec 1 2017