summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..8703f56
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,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