提交 73540f47 编写于 作者: R Richard Levitte

Fix test_x509_store

Don't run this test unless 'openssl rehash' works properly.
Reviewed-by: NRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2664)
上级 d2b53fcd
...@@ -16,6 +16,11 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/; ...@@ -16,6 +16,11 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/;
setup("test_x509_store"); setup("test_x509_store");
#If "openssl rehash -help" fails it's most likely because we're on a platform
#that doesn't support the rehash command (e.g. Windows)
plan skip_all => "test_rehash is not available on this platform"
unless run(app(["openssl", "rehash", "-help"]));
# We use 'openssl verify' for these tests, as it contains everything # We use 'openssl verify' for these tests, as it contains everything
# we need to conduct these tests. The tests here are a subset of the # we need to conduct these tests. The tests here are a subset of the
# ones found in 25-test_verify.t # ones found in 25-test_verify.t
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册