summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-02-19 12:52:30 +0100
committerLinus Nordberg <linus@nordberg.se>2015-02-20 14:12:47 +0100
commit0886d0366ae96fc103b241c73127fdf903efd019 (patch)
treedfd2fba1226a1670d2d685122b52bfd5fa829251
parent31589e4fe5485cd05c4f28b759d90d4ab754123e (diff)
Add fetching all certs to the list of tests
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9f50bd9..274eae9 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ release: all
test -d rel/catlfish/webroot/log || mkdir rel/catlfish/webroot/log
tests-prepare:
- -rm -r rel/known_roots
+ rm -r rel/known_roots || true
mkdir rel/known_roots
cp tools/testcerts/roots/* rel/known_roots
@@ -34,7 +34,7 @@ tests-prepare:
mkdir -p test/nodes/storage-2/log
cp test/config/frontend-1.config rel
cp test/config/storage-1.config rel
- -rm -r rel/tests
+ rm -r rel/tests || true
mkdir -p rel/tests/machine/machine-1/db
printf "0" > rel/tests/machine/machine-1/db/treesize
mkdir -p rel/tests/machine/machine-2/db
@@ -48,7 +48,8 @@ tests-start:
sleep 1
tests-run:
- (cd tools ; python testcase1.py ) || echo "Tests failed"
+ @(cd tools ; python testcase1.py ) || echo "Tests failed"
+ @(cd tools ; python fetchallcerts.py https://127.0.0.1:8080/) || echo "Verification failed"
tests-stop:
sleep 5