commit | 279d57295a39add08d719db4cebe950d56c35164 | [log] [tgz] |
---|---|---|
author | Alex Deymo <deymo@google.com> | Thu Apr 07 16:22:13 2016 -0700 |
committer | Alex Deymo <deymo@google.com> | Fri Apr 08 14:21:23 2016 -0700 |
tree | 8b7bbab363475ebce901a301ff7ff1b532e059f4 | |
parent | c5081a85c015af09411a8f2b9343e70dcd08d7af [diff] |
Fix PipeClosedWhenNotRedirectedTest. When checking for a file descriptor open on the child, we now execute a simple test program that just runs fstat on that file descriptor. This is more reliable than calling sh on different platforms. Bug: 26955860 TEST=Ran unittests on edison-eng and Chromium OS. Change-Id: I5d5d87095564159df1a75e78b0aed29c16bc7eb8