Skip to content

Commit 2a8a5e0

Browse files
committed
Adjust CA test according to new wording
1 parent af20283 commit 2a8a5e0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tcl_tests/ca.try

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ test -skip {![file exists $userdir/broken.pem]} "Registering broken request at c
6161
test "Revoking certificate" {
6262
set revoking_cert $::test::ca/newcerts/[string trim [getFile $::test::ca/serial.old]].pem
6363
append serial_list [regsub "serial=" [openssl "x509 -in $revoking_cert -noout -serial"] " Serial Number: "]
64-
grep "Data Base" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\
65-
format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"]
66-
} 0 "Data Base Updated
64+
string map {"Data Base" Database Updated updated} [ grep "Data" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\
65+
format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"] ]
66+
} 0 "Database updated
6767
"
6868
test -createsfiles test.crl "Generating CRL" {
6969
openssl "ca -gencrl -config $::test::ca/ca.conf -out test.crl"

0 commit comments

Comments
 (0)