1
0
Fork 0
haveged/ent/examine_chi_square.sh
Daniel Baumann 363454abff
Merging upstream version 1.9.19 (Closes: #999811, #1078052):
- haveged can be run as an application if also running as a daemon (Closes: #998382).

Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-02-05 13:12:32 +01:00

15 lines
408 B
Bash
Executable file

#!/bin/bash
#for i in $(seq -w 1000); do
# ./entest -vf <(head -c 16M /dev/random) > "${i}_linux.log"
#done
mkdir chi_square
pushd chi_square || exit 1
for i in $(seq -w 1000); do
../entest -vf <(../../src/haveged -n 16384k -f -) > "${i}_haveged.log"
done
grep -Poh "Chi-Square: .*\(\K[0-9.]+" ./*haveged.log > ./chi.txt
R --vanilla <../examine_chi_square.R > examine_chi_square.summary
popd || exit 1