X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=tcl_tests%2Fca.try;h=dd2d8df014cafa78d33d6b483ad3b5df04ed4bed;hb=f2c9d4f0395c44757658133737efe25a6825b7cb;hp=c5693bbda54abfc1a08800f8e9dae58f69488c8c;hpb=c60fb20676ad9420e14e5d3377267c2bc620e6ea;p=openssl-gost%2Fengine.git diff --git a/tcl_tests/ca.try b/tcl_tests/ca.try index c5693bb..dd2d8df 100644 --- a/tcl_tests/ca.try +++ b/tcl_tests/ca.try @@ -92,13 +92,9 @@ test -skip {![file exists test.crl]} "Verifying corrupted CRL" { " test "Verifying CA certificate" { - grep "(cacert.pem|error|OK)" [openssl "verify $::test::ca/cacert.pem"] -} 1 "error $::test::ca/cacert.pem: verification failed -STDERR CONTENTS: -C = RU, L = Moscow, CN = Test CA $ca_alg, O = Cryptocom, OU = OpenSSL CA, emailAddress = openssl@cryptocom.ru -error 18 at 0 depth lookup: self signed certificate" - - + grep "(cacert.pem|error|OK)" [openssl "verify -CAfile $::test::ca/cacert.pem $::test::ca/cacert.pem"] +} 0 "$::test::ca/cacert.pem: OK +" test "Verifying certificate" { grep "cert.pem" [openssl "verify -CAfile $::test::ca/cacert.pem $userdir/cert.pem"]