From c8fea9fe03b4d215d6c596322d854a62e00beb44 Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Sat, 7 Nov 2015 20:25:24 +0200
Subject: [PATCH] Added more tests.

---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index 1d08139..ab0ea24 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,10 @@ clean:
 
 test: clean
 	./ssl-ca init
+	test "$$(openssl rsa -noout -check -in CA.key)" == "RSA key ok"
+	test "$$(openssl verify -CAfile CA.crt CA.crt)" == "CA.crt: OK"
 	./ssl-ca gen www
+	test "$$(openssl rsa -noout -check -in keys/www)" == "RSA key ok"
 	openssl verify -CAfile CA.crt certs/www
 	test "$$(openssl x509 -in certs/www -issuer -noout)" == "issuer= /CN=*.*.ssl-ca"
 	test "$$(openssl x509 -in certs/www -subject -noout)" == "subject= /CN=*.*.www.ssl-ca"
-- 
GitLab