summaryrefslogtreecommitdiff
path: root/test/py/tests
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-31 17:35:04 -0600
committerTom Rini <trini@konsulko.com>2016-08-05 20:55:20 -0400
commit72f52268942c3500b1a15db5e59ab406b58a9260 (patch)
tree82ad87ba3eba39689e63b85a5bb5527723867d34 /test/py/tests
parent7f64b1874c22b52259a8380de13d824e6b0ce2c8 (diff)
downloadu-boot-imx-72f52268942c3500b1a15db5e59ab406b58a9260.zip
u-boot-imx-72f52268942c3500b1a15db5e59ab406b58a9260.tar.gz
u-boot-imx-72f52268942c3500b1a15db5e59ab406b58a9260.tar.bz2
test: Fix typos in comments
Fix some typos in various files introduced with the vboot test conversion. Reported-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/py/tests')
-rw-r--r--test/py/tests/test_vboot.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index 46552fc..8d10710 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -1,4 +1,4 @@
-# Copyright (c) 2013, Google Inc.
+# Copyright (c) 2016, Google Inc.
#
# SPDX-License-Identifier: GPL-2.0+
#
@@ -16,7 +16,7 @@ For image verification:
For configuration verification:
- Corrupt signature and check for failure
- Create FIT (with unsigned configuration) with mkimage
-- Check that image veriication works
+- Check that image verification works
- Sign the FIT and mark the key as 'required' for verification
- Check that image verification works
- Corrupt the signature
@@ -41,7 +41,7 @@ def test_vboot(u_boot_console):
key-generation process is quite slow and we want to avoid doing it twice.
"""
def dtc(dts):
- """Run the device-tree compiler to compile a .dts file
+ """Run the device tree compiler to compile a .dts file
The output file will be the same as the input file but with a .dtb
extension.
@@ -73,12 +73,12 @@ def test_vboot(u_boot_console):
assert(expect_string in output)
def make_fit(its):
- """Make a new FIT from the .its source file
+ """Make a new FIT from the .its source file.
This runs 'mkimage -f' to create a new FIT.
Args:
- its: Filename containing .its source
+ its: Filename containing .its source.
"""
util.run_and_log(cons, [mkimage, '-D', dtc_args, '-f',
'%s%s' % (datadir, its), fit])
@@ -94,7 +94,7 @@ def test_vboot(u_boot_console):
'-r', fit])
def test_with_algo(sha):
- """Test verified boot with the given hash algorithm
+ """Test verified boot with the given hash algorithm.
This is the main part of the test code. The same procedure is followed
for both hashing algorithms.