commit | 9a99924c97d6ca9f8ec74bc094340b7bb9c7466b | [log] [tgz] |
---|---|---|
author | Spencer Low <CompareAndSwap@gmail.com> | Wed Sep 16 20:45:53 2015 -0700 |
committer | Spencer Low <CompareAndSwap@gmail.com> | Wed Sep 16 20:50:53 2015 -0700 |
tree | 5151e5556f77a9febc55073d089a2147d4dde5e5 | |
parent | af0e48ba4e2967fdd08860823ff9432bb3d201d8 [diff] |
adb unittest for win32 handle inheritance adb.cpp: launch_server() has a long comment about how stdin/stdout/stderr handles have to be made non-inheritable to prevent hangs in callers to adb.exe. It would be disastrous to do this wrong, and I've modified this code, so here's a unittest to verify that I'm doing it right. The test also runs fine on unix. Change-Id: I3672c3066bc7498635c19212f9e5c50757942439 Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>