File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-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+ pdiv " Generate hashsum_tv.txt"
20+ for i in $( for j in $( echo $( ./hashsum -h | awk ' /Algorithms/,EOF' | tail -n +2) ) ; do echo $j ; done | sort) ; do
21+ echo -n " $i : " && ./hashsum -a $i tests/test.key
22+ done > hashsum_tv.txt
23+
24+ pdiv " Compare hashsum_tv.txt"
1325difftroubles=$( diff -i -w -B hashsum_tv.txt notes/hashsum_tv.txt | grep ' ^<' ) || true
1426if [ -n " $difftroubles " ]; then
1527 echo " FAILURE: hashsum_tv.tx"
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ doxygen/
109109* .lof
110110* .bak
111111
112- coverage /
112+ coverage * /
113113coverage * .info
114114
115115# coverity intermediate directory etc.
You can’t perform that action at this time.
0 commit comments