File tree Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Expand file tree Collapse file tree 2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change 22
33set -e
44
5+ function pdiv() {
6+ printf " \n====== %s ======\n" " $* "
7+ }
8+
59if [ " $# " = " 1" -a " $( echo $1 | grep ' gmp' ) " != " " ]; then
10+ pdiv " Test GMP"
611 ./test t gmp
712fi
813
14+ pdiv " Sizes"
915./sizes
16+ pdiv " Constants"
1017./constants
1118
12- for i in $( for j in $( echo $( ./hashsum -h | awk ' /Algorithms/,EOF' | tail -n +2) ) ; do echo $j ; done | sort) ; do echo -n " $i : " && ./hashsum -a $i tests/test.key ; done > hashsum_tv.txt
19+ echo " " > x509_verify.log
20+
21+ for n in tests/x509/* .pem; do
22+ pdiv " X.509 verify $n "
23+ ./x509_verify $n >> x509_verify.log 2>&1
24+ done
25+
26+ pdiv " X.509 verify of all certs packaged"
27+ find tests/x509 -name ' *.pem' -exec ' ./x509_verify' {} \+ >> x509_verify.log 2>&1
28+
29+ pdiv " X.509 verify of all certs packaged via STDIN"
30+ for f in $( find tests/x509 -maxdepth 2 -name ' *.pem' ) ; do echo " - - - - - - -" ; echo $f ; cat $f | ./x509_verify; done >> x509_verify.log 2>&1
31+
32+ pdiv " Generate hashsum_tv.txt"
33+ for i in $( for j in $( echo $( ./hashsum -h | awk ' /Algorithms/,EOF' | tail -n +2) ) ; do echo $j ; done | sort) ; do
34+ echo -n " $i : " && ./hashsum -a $i tests/test.key
35+ done > hashsum_tv.txt
36+
37+ pdiv " Compare hashsum_tv.txt"
1338difftroubles=$( diff -i -w -B hashsum_tv.txt notes/hashsum_tv.txt | grep ' ^<' ) || true
1439if [ -n " $difftroubles " ]; then
1540 echo " FAILURE: hashsum_tv.tx"
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ doxygen/
111111* .lof
112112* .bak
113113
114- coverage /
114+ coverage * /
115115coverage * .info
116116
117117# coverity intermediate directory etc.
You can’t perform that action at this time.
0 commit comments