commit | a7b9a4660c18a88413280c84c03917ae953d62b0 | [log] [tgz] |
---|---|---|
author | Jed Estep <jestep@google.com> | Tue Dec 15 16:04:53 2015 -0800 |
committer | Tao Bao <tbao@google.com> | Wed Feb 10 10:49:38 2016 -0800 |
tree | da799688bdf8d673220eccd24e21f20722578ffd | |
parent | 6a7bf1d9aa7cd52a594e91e6a8f9111a18ae3551 [diff] |
IO fault injection for OTA packages Bug: 25951086 Change-Id: I31c74c735eb7a975b7f41fe2b2eff042e5699c0c (cherry-picked from commit f1fc48c6e62cfee42d25ad12f443e22d50c15d0b)
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