platform_bootable_recovery/tests
Tao Bao 2292db819b Add update_bootloader_message() to fix two-step OTAs.
This is a retry of commit 7e31f421a5.

Commit bd56f1590c switches to calling
write_bootloader_message(<options>) in get_args(), which
unintentionally resets the stage field thus breaks two-step OTAs.

This CL adds update_bootloader_message(<options>), which only sets
the command field (to "boot-recovery") and the recovery field (with
the specified options).

Bug: 33534933
Test: Apply a two-step package.
Test: recovery_component_test passes.
Change-Id: Ie0b1ed4053d2d3c97d9cb84310d616b28fcfc72e
2016-12-15 12:36:26 -08:00
..
common updater: Add testcase for package_extract_dir(). 2016-11-17 23:02:13 -08:00
component Add update_bootloader_message() to fix two-step OTAs. 2016-12-15 12:36:26 -08:00
manual Move recovery_test.cpp out of unit test 2016-11-08 10:42:51 -08:00
testdata applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
unit updater: Fix the wrong return value for package_extract_file(). 2016-11-15 13:17:52 -08:00
Android.mk tests: Add tests for bootloader_message. 2016-12-14 15:59:32 -08:00