diff options
author | Richard Levitte <levitte@openssl.org> | 2017-02-17 14:59:44 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2017-02-17 14:59:44 +0100 |
commit | 73540f4729bb856ab066c6e7a57513a97e3ca36f (patch) | |
tree | 3e47f273f63dc5ad806d2b6ccba45751c8069eaf /test | |
parent | d2b53fcdef9e7b482ff1e2d5f305ae798f3d1be2 (diff) |
Fix test_x509_store
Don't run this test unless 'openssl rehash' works properly.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2664)
Diffstat (limited to 'test')
-rw-r--r-- | test/recipes/60-test_x509_store.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/recipes/60-test_x509_store.t b/test/recipes/60-test_x509_store.t index b084ed956f..041aa097df 100644 --- a/test/recipes/60-test_x509_store.t +++ b/test/recipes/60-test_x509_store.t @@ -16,6 +16,11 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/; 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 need to conduct these tests. The tests here are a subset of the # ones found in 25-test_verify.t |