commit | 47d54a0ab7d94d4fe641ae55cd8d931474c62283 | [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 | 2833c844eaf6aacbdfce41978d0fec0d7e16e0f6 | |
parent | 204eb80f781d036cb3024fd19849f6887b6e68ce [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>