commit | 0831d0b592b2b4abb317a785d0b27e443b8a83db | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Nov 03 23:25:04 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Nov 03 23:28:36 2016 -0700 |
tree | 118e09d338dd3b14a6f2b3b2fa226882dad17d2c | |
parent | da2b34b5d08839b7ef2eb08a70d27947ddaa46aa [diff] |
updater: Fix a bug in DeleteFn(). Also add a testcase for delete() function. Test: recovery_component_test passes. Change-Id: I064d1ad4693c3ed339d0a69eabadd08a61a2ea86
mm -j && m ramdisk-nodeps && m recoveryimage-nodeps # To boot into the new recovery image # without flashing the recovery partition: adb reboot bootloader fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
# After setting up environment and lunch. mmma -j bootable/recovery # Running the tests on device. adb root adb sync data # 32-bit device adb shell /data/nativetest/recovery_unit_test/recovery_unit_test adb shell /data/nativetest/recovery_component_test/recovery_component_test # Or 64-bit device adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test adb shell /data/nativetest64/recovery_component_test/recovery_component_test