smuellerDD / jitterentropy-library

Jitterentropy Library
http://www.chronox.de/jent
Other
101 stars 40 forks source link

Fix off-by-one error in boottime_test_record.sh #108

Closed jvdsn closed 1 year ago

jvdsn commented 1 year ago

testruns starts at 00000, so the exit condition must be checked for testruns + 1

Consider the case where TESTS is set to 1. Then testruns would be 0, which is not greater than or equal to 1, so the script wouldn't exit.

smuellerDD commented 1 year ago

Fixed with a slightly different change.

Thanks.