1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Revert "test/openssl/test_ts.rb: tentatively skip a failing test on CentOS 6.9"

This reverts commit a6d007c70b.

Unfortunately, the test fails on armv7l
https://rubyci.org/logs/rubyci.s3.amazonaws.com/scw-9d6766/ruby-master/log/20200216T091708Z.fail.html.gz
This commit is contained in:
Yusuke Endoh 2020-02-16 22:16:22 +09:00
parent a6d007c70b
commit 331755c5e9

View file

@ -67,17 +67,15 @@ _end_of_pem_
@ts_cert_ee ||= OpenSSL::Certs.ts_cert_ee(ee_key, intermediate_cert, intermediate_key)
end
# Tentatively, skip this test to make CentOS 6.9 CI green.
# After it become green, I'll remove CentOS 6.9 + ruby master from CI matrix
#def test_create_request
# req = OpenSSL::Timestamp::Request.new
# assert_equal(true, req.cert_requested?)
# assert_equal(1, req.version)
# assert_nil(req.algorithm)
# assert_equal("", req.message_imprint)
# assert_nil(req.policy_id)
# assert_nil(req.nonce)
#end
def test_create_request
req = OpenSSL::Timestamp::Request.new
assert_equal(true, req.cert_requested?)
assert_equal(1, req.version)
assert_nil(req.algorithm)
assert_equal("", req.message_imprint)
assert_nil(req.policy_id)
assert_nil(req.nonce)
end
def test_request_mandatory_fields
req = OpenSSL::Timestamp::Request.new