commit | 1d3b863ffba9cd037b65471cfbb5a41b2d50bb8b | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Fri May 13 12:32:10 2016 -0700 |
committer | Treehugger Robot <treehugger-gerrit@google.com> | Sat May 14 00:32:58 2016 +0000 |
tree | 90d706ac21d5ac4de8720f22207ed2accc5a9819 | |
parent | 857ded125104a6e8dc7cabb3035a1fa42ccbd166 [diff] |
Send SIGKILL to kill the child. PostinstallRunnerActionTest.RunAsRootCancelPostinstallActionTest wasn't able to kill the child in brilloemulator because it send a SIGTERM to the child before the child exec, and the SIGTERM was ignored. So we instead send a SIGKILL to kill the child which won't be ignored. Test: adb -s emulator-5554 shell /data/nativetest/update_engine_unittests/update_engine_unittests Bug: 28319454 Change-Id: Ideb10fe1f7a41ad11522f5d1b53d952a82f9508f