diff options
| author | Tobias Thierer <tobiast@google.com> | 2016-05-26 16:48:21 +0100 |
|---|---|---|
| committer | Tobias Thierer <tobiast@google.com> | 2016-07-25 19:57:25 +0100 |
| commit | 3282e7b33d1fec813a2c6cf180a54e66ad54c5de (patch) | |
| tree | b2c76631944954a5c6d51975075fb4cffb334790 /include/ScopedJavaUnicodeString.h | |
| parent | 5a68267e849d803ed864b3ff57ee814e0a2b4b75 (diff) | |
Test ProcessBuilder.Redirect.INHERIT
This is similar to commit ed4aeadaac76089f2d3d3486e75fc8d3549929d0
which was rolled back because /proc/[mypid] is not accessible to
application / test processes (only to child processes) on Android
user builds by default.
The test now uses Os.fstat() to obtain the test process's
stdin/stdout/stderr inode numbers without access to /proc/. It
still relies on /proc/ for a child process, although that could
be replaced with a small C program if it causes trouble in the
future.
Test: cts-tradefed run cts -c libcore.java.lang.ProcessBuilderTest
Bug: 27464570
Change-Id: Ic8b707dd43acfc49c0858d87026c8785774fa35b
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions
