[U-Boot] [PATCH 2/2] test: Fix test_vboot to call openssl without redirection
Simon Glass
sjg at chromium.org
Wed May 16 07:10:25 UTC 2018
The redirection seems to cause this test to fail now. It isn't needed, so
drop it.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
test/py/tests/test_vboot.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/py/tests/test_vboot.py b/test/py/tests/test_vboot.py
index ee939f2034e..3009529c6dc 100644
--- a/test/py/tests/test_vboot.py
+++ b/test/py/tests/test_vboot.py
@@ -177,8 +177,8 @@ def test_vboot(u_boot_console):
public_exponent = 65537
util.run_and_log(cons, 'openssl genpkey -algorithm RSA -out %sdev.key '
'-pkeyopt rsa_keygen_bits:2048 '
- '-pkeyopt rsa_keygen_pubexp:%d '
- '2>/dev/null' % (tmpdir, public_exponent))
+ '-pkeyopt rsa_keygen_pubexp:%d' %
+ (tmpdir, public_exponent))
# Create a certificate containing the public key
util.run_and_log(cons, 'openssl req -batch -new -x509 -key %sdev.key -out '
--
2.17.0.441.gb46fe60e1d-goog
More information about the U-Boot
mailing list