diff options
author | Magnus Ahltorp <map@kth.se> | 2016-10-05 10:06:16 +0200 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2016-10-05 10:08:43 +0200 |
commit | 1d902cd5813a2df252b6976bdcdc9cd7531590b4 (patch) | |
tree | cef355f80032c5e15893a5d96c52728d9b71b7d8 /test/scripts/light-system-test-run-2.sh | |
parent | 49b40a0170b80b204746ab3bc42a73c5c60bcf0c (diff) |
Move tests to shell scripts
Diffstat (limited to 'test/scripts/light-system-test-run-2.sh')
-rwxr-xr-x | test/scripts/light-system-test-run-2.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/scripts/light-system-test-run-2.sh b/test/scripts/light-system-test-run-2.sh new file mode 100755 index 0000000..204266f --- /dev/null +++ b/test/scripts/light-system-test-run-2.sh @@ -0,0 +1,14 @@ +#!/bin/sh + +set -o nounset +set -o errexit + +SOFTHSM=/usr/local/bin/softhsm2-util +INSTDIR=../catlfish +PREFIX=.. + +. test.shvars + +(cd ${INSTDIR} && python ../tools/verifysct.py --sct-file=tests/submittedcerts --parallel 1 ${BASEURL} --publickey=tests/keys/logkey.pem --cafile tests/httpsca/demoCA/cacert.pem) || (echo "Verification of SCT:s failed" ; false) +(cd ${INSTDIR}/tests && ../../tools/check-sth.py ${BASEURL} --publickey=keys/logkey.pem --cur-sth=stored-sth --cafile httpsca/demoCA/cacert.pem) +(cd ${INSTDIR}/tests && python ../../tools/storagegc.py --config ../../test/catlfish-test.cfg --localconfig ../../test/catlfish-test-local-1.cfg) || (echo "GC failed" ; false) |