summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMagnus Ahltorp <map@kth.se>2015-02-19 12:52:30 +0100
committerMagnus Ahltorp <map@kth.se>2015-02-19 13:43:04 +0100
commit0612aea127557032cb2d5913457d29263822698c (patch)
treedaadfac44a654abd02f99b362dcdf5d060308ecf /Makefile
parentf7dd4e73ae8829f71f51c8af2dcf45a904e42664 (diff)
Add fetching all certs to the list of tests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2650806..0b4384d 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