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

Unified Diff: src/platform/vboot_reference/tests/kernel_image_tests.c

Issue 1138006: Fix test return values (otherwise, autotest mistakenly thinks it failed). (Closed)
Patch Set: Created 10 years, 9 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 | « src/platform/vboot_reference/tests/firmware_image_tests.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/vboot_reference/tests/kernel_image_tests.c
diff --git a/src/platform/vboot_reference/tests/kernel_image_tests.c b/src/platform/vboot_reference/tests/kernel_image_tests.c
index acf9e5e789d3b467fcbe39df2030d464943738a8..d958c0fa23b6cdcdc9c7644c700763c3c5fd40c1 100644
--- a/src/platform/vboot_reference/tests/kernel_image_tests.c
+++ b/src/platform/vboot_reference/tests/kernel_image_tests.c
@@ -154,7 +154,7 @@ int main(int argc, char* argv[]) {
uint64_t kernel_blob_len = 0;
KernelImage* image = NULL;
RSAPublicKey* firmware_key = NULL;
- int error_code = 1;
+ int error_code = 0;
if(argc != 7) {
fprintf(stderr, "Usage: %s <firmware signing algorithm> " /* argv[1] */
« no previous file with comments | « src/platform/vboot_reference/tests/firmware_image_tests.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698