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
Loading
Please sign in to comment