Commit 1d3b863f authored by Sen Jiang's avatar Sen Jiang Committed by Treehugger Robot
Browse files

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
parent 857ded12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment