7 echo "Usage: $0 [serial]"
18 echo "Usage: $0 [serial]"
23 tests="0:100 1:100 2:100 3:100 12:10 13:100 15:10000 16:250 202:1000 203:100 204:500 206:20 207:1000:32 209:1000"
28 ../ao-tools/ao-chaosread/ao-chaosread $serial --infinite --bytes | for test in $tests done; do
31 dnum=`echo $test | sed 's/:.*$//'`
32 tnum=`echo $test | sed 's/^[^:]*://'`
33 tnum=`echo $test | sed 's/^[^:]*://' | sed 's/:.*$//'`
34 nnum=`echo $test | sed 's/^.*://'`
35 opts="-d $dnum -t $tnum -n $nnum"
38 dnum=`echo $test | sed 's/:.*$//'`
39 tnum=`echo $test | sed 's/^.*://'`
40 opts="-d $dnum -t $tnum"
53 dieharder -g 200 $opts
56 done | while read result; do
59 testnum=`echo $result | sed 's/TEST //'`
68 echo test $testnum failed
72 echo pass $PASS weak $WEAK fail $FAIL
75 echo ChaosKey $snum is ready to ship
79 echo ChaosKey $snum failed