- haveged can be run as an application if also running as a daemon (Closes: #998382). Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
10d5974907
commit
363454abff
54 changed files with 6554 additions and 5557 deletions
18
ent/test.sh
Executable file
18
ent/test.sh
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/bin/bash
|
||||
|
||||
runs=10
|
||||
for i in $(seq -w "$runs"); do
|
||||
./entest -vf <(../src/haveged -n 16384k -f -) > "${i}_entest.log"
|
||||
done
|
||||
|
||||
fails=$(grep Fail ./*_entest.log | wc -l)
|
||||
|
||||
if (( fails > 2 )); then
|
||||
echo "Total $fails in $runs"
|
||||
grep Fail ./*_entest.log
|
||||
echo "Marking the whole test as failed"
|
||||
exit 255
|
||||
else
|
||||
echo "Test passed!"
|
||||
fi
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue