Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1359)

Unified Diff: utility/load_kernel_test.c

Issue 2830038: load_kernel_test tests the recovery image now (submit for Bill) (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utility/load_kernel_test.c
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 83cc60c4af44845a714c6b8aa754cf0d0b5ffa18..1f44857902c02aa158bdbebf77002e445c82a862 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -121,7 +121,7 @@ int main(int argc, char* argv[]) {
/* TODO: Option for boot mode - developer, recovery */
/* Need to skip the address check, since we're putting it somewhere on the
* heap instead of its actual target address in the firmware. */
- lkp.boot_flags = BOOT_FLAG_SKIP_ADDR_CHECK;
+ lkp.boot_flags = BOOT_FLAG_SKIP_ADDR_CHECK | BOOT_FLAG_RECOVERY;
/* Call LoadKernel() */
rv = LoadKernel(&lkp);
@@ -135,5 +135,5 @@ int main(int argc, char* argv[]) {
fclose(image_file);
Free(lkp.kernel_buffer);
- return 0;
+ return rv != LOAD_KERNEL_SUCCESS;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698