summaryrefslogtreecommitdiff
path: root/test/py/tests
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-07-31 23:35:09 (GMT)
committerTom Rini <trini@konsulko.com>2016-08-06 00:55:23 (GMT)
commitf6d34651d8a21514abbfa32f44a0ec2014ef002b (patch)
tree5812373b7eda7dcc4e4fc4b5b76c83d7d8248f47 /test/py/tests
parent27c087d58ab703f15211629abfa4a47f19974b9e (diff)
downloadu-boot-fsl-qoriq-f6d34651d8a21514abbfa32f44a0ec2014ef002b.tar.xz
test: Adjust run_command_list() to return a list of strings
Return one string for each command that was executed. This seems cleaner. Suggested-by: Teddy Reed <teddy.reed@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'test/py/tests')
-rw-r--r--test/py/tests/test_vboot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index d7ab439..021892b 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -71,7 +71,7 @@ def test_vboot(u_boot_console):
['sb load hostfs - 100 %stest.fit' % tmpdir,
'fdt addr 100',
'bootm 100'])
- assert(expect_string in output)
+ assert(expect_string in ''.join(output))
def make_fit(its):
"""Make a new FIT from the .its source file.