Browse Source

fix coverage_more.sh after updating hashsum

Steffen Jaeckel 8 years ago
parent
commit
8f7986bbb2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      coverage_more.sh

+ 1 - 1
coverage_more.sh

@@ -5,7 +5,7 @@ set -e
 ./sizes
 ./sizes
 ./constants
 ./constants
 
 
-for i in $(for j in $(echo $(./hashsum -h | tail -n +3)); do echo $j; done | sort); do echo -n "$i: " && ./hashsum -a $i tests/test.key ; done > hashsum_tv.txt
+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
 difftroubles=$(diff -i -w -B hashsum_tv.txt notes/hashsum_tv.txt | grep '^<') || true
 difftroubles=$(diff -i -w -B hashsum_tv.txt notes/hashsum_tv.txt | grep '^<') || true
 if [ -n "$difftroubles" ]; then
 if [ -n "$difftroubles" ]; then
   echo "FAILURE: hashsum_tv.tx"
   echo "FAILURE: hashsum_tv.tx"