X-Git-Url: https://git.cryptolib.org/?a=blobdiff_plain;f=host%2Fshavs_test.rb;h=8405a3f9a70fdde74345155fc5b6463f744a1291;hb=4e31ebdb0529eeb61efd3fe181b9de1abe6d7f6c;hp=e6a90d1555d5975a934138ade5d46c21437dd6dd;hpb=2b8ac5e59c46832e1cced4cc5d1c1610a934766d;p=avr-crypto-lib.git diff --git a/host/shavs_test.rb b/host/shavs_test.rb index e6a90d1..8405a3f 100644 --- a/host/shavs_test.rb +++ b/host/shavs_test.rb @@ -92,7 +92,7 @@ def run_test(filename) b = (/[\s]*MD[\s]*=[\s]*([0-9a-fA-F]*).*/.match(avr_md))[1]; a.upcase! b.upcase! - printf("\n%4d: ", line) if (pos%$linewidth==0 and $linewidth!=0) + printf("\n%4d (%4d): ", line, (line-1)*$linewidth) if (pos%$linewidth==0 and $linewidth!=0) line += 1 if (pos%$linewidth==0 and $linewidth!=0) #putc((a==b)?'*':'!') if(a==b)