summaryrefslogtreecommitdiff
path: root/tests/futility/expect_output/vbutil_firmware.verify
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/vbutil_firmware.verify
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/vbutil_firmware.verify')
-rw-r--r--tests/futility/expect_output/vbutil_firmware.verify16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/futility/expect_output/vbutil_firmware.verify b/tests/futility/expect_output/vbutil_firmware.verify
new file mode 100644
index 00000000..87b35a6a
--- /dev/null
+++ b/tests/futility/expect_output/vbutil_firmware.verify
@@ -0,0 +1,16 @@
+Key block:
+ Size: 2232
+ Flags: 7 (ignored)
+ Data key algorithm: 7 RSA4096 SHA256
+ Data key version: 1
+ Data key sha1sum: e2c1c92d7d7aa7dfed5e8375edd30b7ae52b7450
+Preamble:
+ Size: 2164
+ Header version: 2.1
+ Firmware version: 12
+ Kernel key algorithm: 7 RSA4096 SHA256
+ Kernel key version: 1
+ Kernel key sha1sum: 5d2b220899c4403d564092ada3f12d3cc4483223
+ Firmware body size: 16384
+ Preamble flags: 42
+Body verification succeeded.