]> git.street.me.uk Git - andy/dehydrated.git/commitdiff
fixed signcsr test
authorLukas Schauer <lukas@schauer.so>
Wed, 10 Feb 2016 18:31:13 +0000 (19:31 +0100)
committerLukas Schauer <lukas@schauer.so>
Wed, 10 Feb 2016 18:31:13 +0000 (19:31 +0100)
test.sh

diff --git a/test.sh b/test.sh
index 979ae8e81614882eea34f827e6a93c973bfce02b..07166117d8843b4dd6c22adffa1c22d927bb3468 100755 (executable)
--- a/test.sh
+++ b/test.sh
@@ -176,7 +176,9 @@ _CHECK_ERRORLOG
 # Check if signcsr command is working
 _TEST "Running signcsr command"
 ./letsencrypt.sh --signcsr certs/${TMP_URL}/cert.csr > tmplog 2> errorlog || _FAIL "Script execution failed"
-_CHECK_ERRORLOG
+_CHECK_LOG "BEGIN CERTIFICATE"
+_CHECK_LOG "END CERTIFICATE"
+_CHECK_NOT_LOG "ERROR"
 
 # Delete account key (not needed anymore)
 rm account_key.pem