Use --file to test_rand.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23044 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -51,14 +51,14 @@ ${engine} --rsa=${srcdir}/rsakey.der || \
|
|||||||
${rsa} --loops=4 || { echo "rsa test for 4 loops failed" ; exit 1; }
|
${rsa} --loops=4 || { echo "rsa test for 4 loops failed" ; exit 1; }
|
||||||
|
|
||||||
for a in unix fortuna egd ;do
|
for a in unix fortuna egd ;do
|
||||||
${rand} --method=${a} crypto-test 2>error
|
${rand} --method=${a} --file=crypto-test 2>error
|
||||||
res=$?
|
res=$?
|
||||||
if test "X$res" != X0 ; then
|
if test "X$res" != X0 ; then
|
||||||
grep "random not ready yet" error || exit 1
|
grep "random not ready yet" error || exit 1
|
||||||
echo "random method $a out for lunch"
|
echo "random method $a out for lunch"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
${rand} --method=${a} crypto-test2 2>error
|
${rand} --method=${a} --file=crypto-test2 2>error
|
||||||
res=$?
|
res=$?
|
||||||
if test "X$res" != X0 ; then
|
if test "X$res" != X0 ; then
|
||||||
grep "random not ready yet" error || exit 1
|
grep "random not ready yet" error || exit 1
|
||||||
|
Reference in New Issue
Block a user