diff options
author | Shuqian Zhao <shuqianz@google.com> | 2016-02-05 11:29:32 -0800 |
---|---|---|
committer | Charlene Zhao <shuqianz@google.com> | 2016-02-10 22:38:45 +0000 |
commit | 2997173235e88c5e4cb13d2844f74afc7b25d6e2 (patch) | |
tree | 1efea76748ffcb44c7340c8cae9d9cbfb51cc19e /update_manager/variable_unittest.cc | |
parent | 64d9878470aa7b388e971862181daf6260851602 (diff) |
Add a feature to get the last UpdateAttempt ErrorCode from update_engine
For autotest, update_engine test failures are always hard to debug,
since the error message is not clear. Add a new flag 'last_attempt_error'
to get the last UpdateAttempt ErrorCode from update_engine.
Bug:25598547
Test:emerge-peppy update_engine
emerge-peppy update_engine_client
cros flash a test image to DUT.
(on the DUT):update_engine_client --last_attempt_error
Compare the results with the update_engine logs, matched.
Change-Id: Id12681097ed30b0826cad68809f17f934a07e5b2
Diffstat (limited to 'update_manager/variable_unittest.cc')
0 files changed, 0 insertions, 0 deletions