2017-08-04 632 views
0

我会在ubuntu 14.04上升级opessl,配置成功,但运行make test失败,会不会继续安装?
厂名测试错误日志:openssl make test error,可以安装吗?

../test/recipes/05-test_md2.t .............. skipped: md2 is not supported by this OpenSSL build 
../test/recipes/05-test_rc5.t .............. skipped: rc5 is not supported by this OpenSSL build 
../test/recipes/30-test_afalg.t ............ skipped: test_afalg not supported for this build 
../test/recipes/40-test_rehash.t ........... Dubious, test returned 1 (wstat 256, 0x100) 
Failed 1/5 subtests 
     (less 1 skipped subtest: 3 okay) 
../test/recipes/90-test_heartbeat.t ........ skipped: heartbeats is not supported by this OpenSSL build 
Test Summary Report 
------------------- 
../test/recipes/40-test_rehash.t   (Wstat: 256 Tests: 5 Failed: 1) 
    Failed test: 4 
    Non-zero exit status: 1 
Files=95, Tests=547, 53 wallclock secs (0.31 usr 0.10 sys + 40.48 cusr 1.90 csys = 42.79 CPU) 
Result: FAIL 
make[1]: *** [_tests] Error 1 
make[1]: Leaving directory `/root/openssl-1.1.0f' 
make: *** [tests] Error 2 

回答

0
../test/recipes/40-test_rehash.t ........... Dubious, test returned 1 (wstat 256, 0x100) 

失败1/5测验

我相信,如果:(1)运行自检出现这种情况的OpenSSL 1.0.2下作为根; (2)你无法以root身份运行自我测试。我认为它是前者(1)。如果你愿意,你可以忽略这个。

您应该构建库并以普通用户身份运行自检。当需要安装时使用sudo