From: Lukas Schauer Date: Thu, 17 Dec 2015 17:33:54 +0000 (+0100) Subject: check if renewal works X-Git-Tag: v0.1.0~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85b3f1917f2e30fdf0c1e67ba371a19be93e69d6;p=thirdparty%2Fdehydrated.git check if renewal works --- diff --git a/test.sh b/test.sh index 414d871..cf5adff 100755 --- a/test.sh +++ b/test.sh @@ -153,6 +153,14 @@ _CHECK_ERRORLOG # Delete account key (not needed anymore) rm account_key.pem +# Check if renewal works +_TEST "Run in cron mode again, to check if renewal works" +echo 'RENEW_DAYS="300"' >> config.sh +./letsencrypt.sh --cron > tmplog 2> errorlog || _FAIL "Script execution failed" +_CHECK_LOG "Checking domain name(s) of existing cert... unchanged." +_CHECK_LOG "Renewing!" +_CHECK_ERRORLOG + # Check if certificate is valid in various ways _TEST "Verifying certificate..." _SUBTEST "Verifying certificate on its own..."