summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-03-08 12:39:40 +0100
committerMagnus Ahltorp <map@kth.se>2015-03-08 12:39:40 +0100
commite2404caabb5ce3f7dca21cdedddbf744f47e6c3e (patch)
tree8ca2a388a24fc21d1ee6f40bb1073f310429d264 /Makefile
parent1f63c850a12797c5efd2db8368ef7219ed555ce2 (diff)
Test moreextsign
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 19 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d124325..1837422 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,14 @@ tests-start:
tests-run:
@(cd tools ; python testcase1.py ) || echo "Tests failed"
@(cd tools ; python fetchallcerts.py https://127.0.0.1:8080/) || echo "Verification failed"
+ @(cd tools ; python submitcert.py --store testcerts/cert1.txt --check-sct --sct-file=../rel/submittedcerts https://127.0.0.1:8080/) || echo "Submission failed"
+ @(cd tools ; python submitcert.py --store testcerts/cert2.txt --check-sct --sct-file=../rel/submittedcerts https://127.0.0.1:8080/) || echo "Submission failed"
+ @(cd tools ; python submitcert.py --store testcerts/cert3.txt --check-sct --sct-file=../rel/submittedcerts https://127.0.0.1:8080/) || echo "Submission failed"
+ @(cd tools ; python submitcert.py --store testcerts/cert4.txt --check-sct --sct-file=../rel/submittedcerts https://127.0.0.1:8080/) || echo "Submission failed"
+ @(cd tools ; python submitcert.py --store testcerts/cert5.txt --check-sct --sct-file=../rel/submittedcerts https://127.0.0.1:8080/) || echo "Submission failed"
+
+tests-run2:
+ @(cd tools ; python verifysct.py --sct-file=../rel/submittedcerts --parallel 1 https://127.0.0.1:8080/) || echo "Verification of SCT:s failed"
tests-stop:
@for node in $(NODES); do \
@@ -76,7 +84,17 @@ tests-stop:
tests-wait:
sleep 5
-tests: tests-prepare tests-start tests-run tests-wait tests-stop
+tests:
+ @make tests-prepare
+ @make tests-start
+ @make tests-run
+ @make tests-wait
+ @make tests-stop
+ @make tests-wait
+ @make tests-start
+ @make tests-run2
+ @make tests-wait
+ @make tests-stop
# Unit testing.
check: all