diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2023-01-25 03:12:13 +0100 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2023-01-25 03:23:45 +0100 |
commit | cb0b301e7a62a71d9e4454f9f7af5358c857c48c (patch) | |
tree | 7144a3ced094d47288cae7cfdff6fce14c2cac55 /tests/cert-revoke | |
parent | 40a4c9b9be51f9c41edd8b421dd629e001659fb4 (diff) |
Adjust test suite against current Let's Encrypt staging environment.
Diffstat (limited to 'tests/cert-revoke')
-rw-r--r-- | tests/cert-revoke | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cert-revoke b/tests/cert-revoke index f3d585e..179ccba 100644 --- a/tests/cert-revoke +++ b/tests/cert-revoke @@ -18,7 +18,7 @@ test /etc/lacme/simpletest.ecdsa.crt -nt /etc/lacme/simpletest.ecdsa.key lacme revokeCert /etc/lacme/simpletest.ecdsa.crt ! lacme revokeCert /etc/lacme/simpletest.ecdsa.crt 2>"$STDERR" || fail grepstderr -Fxq "Revoking /etc/lacme/simpletest.ecdsa.crt" -grepstderr -Fxq "400 Bad Request (Certificate already revoked)" +grepstderr -Fq "400 Bad Request (unable to revoke" grepstderr -Fxq "Warning: Couldn't revoke /etc/lacme/simpletest.ecdsa.crt" # and the RSA certificate using the service key @@ -26,7 +26,7 @@ mv -vfT /etc/lacme/simpletest.rsa.key /etc/lacme/account.key lacme revokeCert /etc/lacme/simpletest.rsa.crt ! lacme revokeCert /etc/lacme/simpletest.rsa.crt 2>"$STDERR" || fail grepstderr -Fxq "Revoking /etc/lacme/simpletest.rsa.crt" -grepstderr -Fxq "400 Bad Request (Certificate already revoked)" +grepstderr -Fq "400 Bad Request (unable to revoke" grepstderr -Fxq "Warning: Couldn't revoke /etc/lacme/simpletest.rsa.crt" # vim: set filetype=sh : |