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:
Love Hörnquist Åstrand
2008-04-18 10:02:43 +00:00
parent 15e4a4e62d
commit a1b9fe24e0

View File

@@ -51,14 +51,14 @@ ${engine} --rsa=${srcdir}/rsakey.der || \
${rsa} --loops=4 || { echo "rsa test for 4 loops failed" ; exit 1; }
for a in unix fortuna egd ;do
${rand} --method=${a} crypto-test 2>error
${rand} --method=${a} --file=crypto-test 2>error
res=$?
if test "X$res" != X0 ; then
grep "random not ready yet" error || exit 1
echo "random method $a out for lunch"
continue
fi
${rand} --method=${a} crypto-test2 2>error
${rand} --method=${a} --file=crypto-test2 2>error
res=$?
if test "X$res" != X0 ; then
grep "random not ready yet" error || exit 1