update coverage.sh
* hashsum requires now a '-a' option flag for the algorithm * '-h' is required to output the list of algorithms to stdout * the algorithms are printed in columns, so we have to sort differently
This commit is contained in:
parent
9893566ae9
commit
28f8a85246
@ -32,7 +32,7 @@ fi
|
||||
./sizes
|
||||
./constants
|
||||
|
||||
for i in $(./hashsum | tail -n +3 | awk '{print $1}' | sort); do echo -n "$i: " && ./hashsum $i testprof/test.key ; done > hashsum_tv.txt
|
||||
for i in $(for j in $(echo $(./hashsum -h | tail -n +3)); do echo $j; done | sort); do echo -n "$i: " && ./hashsum -a $i testprof/test.key ; done > hashsum_tv.txt
|
||||
difftroubles=$(diff -i -w -B hashsum_tv.txt notes/hashsum_tv.txt | grep '^<') || true
|
||||
if [ -n "$difftroubles" ]; then
|
||||
echo "FAILURE: hashsum_tv.tx"
|
||||
|
Loading…
Reference in New Issue
Block a user