Descriptionsandbox: Change directory names in ProcUtil test to support Android
The ProcUtil tests HasOpenDirectory HasOpenDirectoryWithFD use
/dev to test HasOpenDirectory. /dev fails to open on Android
due to SELinux. This change picks /proc/self instead, which
will work on all linux platforms.
BUG=459360
TEST=sandbox_linux_unittests
Committed: https://crrev.com/5a50fdd84f42a4df08cced9d792985336b5335a4
Cr-Commit-Position: refs/heads/master@{#317366}
Patch Set 1 #
Total comments: 3
Patch Set 2 : better naming #Messages
Total messages: 13 (5 generated)
|