From 51f4431c08af3ff0312315cb815c017aebd09bb3 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Fri, 28 Aug 2020 16:36:34 +0300 Subject: [PATCH] Tests adjustment --- tcl_tests/smime_io.try | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tcl_tests/smime_io.try b/tcl_tests/smime_io.try index e4d7666..e0c7235 100644 --- a/tcl_tests/smime_io.try +++ b/tcl_tests/smime_io.try @@ -29,12 +29,12 @@ foreach alg $alg_list { test -skip {![file exists sign_$alg_fn.msg]} "Verifying a message signed with $alg without ca via cms" { grep Veri [openssl "cms -verify -text -in sign_$alg_fn.msg -out verified.txt -noverify -certfile $username/cert.pem"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -skip {![file exists sign_$alg_fn.msg]} "Verifying a message signed with $alg with ca via cms" { grep Veri [openssl "cms -verify -text -in sign_$alg_fn.msg -out verified.txt -certfile $username/cert.pem -CAfile $::test::ca/cacert.pem"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -skip {![file exists bad_$alg_fn.msg]} -createsfiles verified.txt "Verifying corrupted messages signed with $alg via smime" { @@ -43,22 +43,22 @@ test -skip {![file exists bad_$alg_fn.msg]} -createsfiles verified.txt "Verifyin test -skip {![file exists sign_c_$alg_fn.msg]} "Verifying a message signed with $alg having cert inside without ca via cms" { grep Veri [openssl "cms -verify -text -in sign_c_$alg_fn.msg -out verified.txt -noverify"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -skip {![file exists sign_c_$alg_fn.msg]} "Verifying a message signed with $alg having cert with ca via cms" { grep Veri [openssl "cms -verify -text -in sign_c_$alg_fn.msg -out verified.txt -CAfile $::test::ca/cacert.pem"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -createsfiles verified.txt -skip {![file exists sign_op_$alg_fn.msg]} "Verifying a message signed by $alg having cert inside without ca via cms" { grep Veri [openssl "cms -verify -text -in sign_op_$alg_fn.msg -out verified.txt -noverify"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -createsfiles verified.txt -skip {![file exists sign_op_$alg_fn.msg]} "Verifying a $alg opaque message with ca via cms" { grep Veri [openssl "cms -verify -text -in sign_op_$alg_fn.msg -out verified.txt -CAfile $::test::ca/cacert.pem"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -skip {![file exists broken_op_$alg_fn.msg]} "Verifying broken $alg opaque message" { @@ -67,7 +67,7 @@ test -skip {![file exists broken_op_$alg_fn.msg]} "Verifying broken $alg opaque test -skip {![file exists sign_det_$alg_fn.pem]} "Verifying detached $alg signature via cms" { grep Veri [openssl "cms -verify -binary -content sign.dat -inform PEM -in sign_det_$alg_fn.pem -out verified.txt -noverify"] -} 0 "Verification successful +} 0 "CMS Verification successful " test -skip {![file exists sign_det_$alg_fn.msg]} -createsfiles {bad.dat} "Verifying corrupted $alg detached signature" { -- 2.39.5