summaryrefslogtreecommitdiff
path: root/tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2016-06-03 12:09:00 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-06-07 14:25:38 -0700
commit05cd8ce75f97a76c4ef155734d191cd275bac231 (patch)
tree92b9b7ba98aa165f57ca7f29729435fef3e10db4 /tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin
parente1867d26a1379afa21144ff5de0406fbb6b492e8 (diff)
downloadvboot-05cd8ce75f97a76c4ef155734d191cd275bac231.tar.gz
test: Add tests for futility show and vbutil_*stabilize-8481.Bstabilize-8447.Bstabilize-8429.B
Currently, the unit tests verify a 0 exit code, but don't check the output. Add tests to check the output. BUG=chromium:617247 BRANCH=none TEST=make runtests Change-Id: I842046bb6f788eee05a1f2f511c6fb08df4a5379 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/349670 Reviewed-by: Daisuke Nojiri <dnojiri@google.com>
Diffstat (limited to 'tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin')
-rw-r--r--tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin20
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin b/tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin
new file mode 100644
index 00000000..c6486839
--- /dev/null
+++ b/tests/futility/expect_output/show.tests_futility_data_kern_preamble.bin
@@ -0,0 +1,20 @@
+Kernel partition: /mnt/host/source/src/platform/vboot_reference/tests/futility/data/kern_preamble.bin
+Key block:
+ Signature: ignored
+ Size: 0x5b8
+ Flags: 15 !DEV DEV !REC REC
+ Data key algorithm: 8 RSA4096 SHA512
+ Data key version: 1
+ Data key sha1sum: 50b28df3cebabeefd134b7bc96512207f57b20a5
+Kernel Preamble:
+ Size: 0xfa48
+ Header version: 2.0
+ Kernel version: 1
+ Body load address: 0x100000
+ Body size: 0x12000
+ Bootloader address: 0x10a000
+ Bootloader size: 0x8000
+ Flags: 0x0
+Body verification succeeded.
+Config:
+hi there