diff options
author | Paul Burton <paul.burton@imgtec.com> | 2017-09-14 14:34:50 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2018-07-10 14:50:50 -0600 |
commit | 8793631ec13ee9e6c7189a7bdca38dde7b4390a8 (patch) | |
tree | c676fc0b7bb54208931dd75d5551124c4e06f500 /configs/ls2080a_simu_defconfig | |
parent | 9f9e8a4dda0b09574a9188a5576a8768e3d818be (diff) |
test/py: vboot: Remove stderr redirect from openssl command
The openssl command specified in test_with_algo() ultimately ends up
being run by RunAndLog::run(), which uses it to construct a Popen object
with the default shell=False. The stderr redirect in the command is
therefore simply passed to openssl as an argument. With at least openssl
1.1.0f this causes openssl, and therefore test_vboot, to fail with:
genpkey: Use -help for summary.
Exit code: 1
Any stderr output ought to be captured & stored in the RunAndLog
object's output field and returned from run() via run_and_log() to
test_with_algo() which then ignores it anyway, so we can drop the
shell-like redirection with no ill effects. With this fix test_vboot now
passes for me.
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'configs/ls2080a_simu_defconfig')
0 files changed, 0 insertions, 0 deletions