summaryrefslogtreecommitdiff
path: root/test.sh
blob: 8703f5608d92c39115c44c06671a595a987c051b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BIGDEALPATH=..
DIRECTORY=$1
SUFFIX=$2
rm $DIRECTORY/*.dump
echo -n 'Generating 1000000 boards from a single seed'
$BIGDEALPATH/bigdealx$SUFFIX -h `cat entropy-bits/entropy00` -n 1000000 -p single 2>> $DIRECTORY/single.dump > /dev/null
echo '.'
echo -n 'Generating 100 boards each from 10000 seeds'
find entropy-bits -type f | while read ENTROPYFILE
do
    $BIGDEALPATH/bigdealx$SUFFIX -h `cat $ENTROPYFILE` -n 100 -p multi 2>> $DIRECTORY/multiple.dump > /dev/null
    echo -n '.'
done
echo