Grep for PRNG message in $SEARCHOUT to make sure error is caught.

This commit is contained in:
Randy Kunkee 2000-09-10 19:38:21 +00:00
parent 84583b6494
commit b8569b2b1d

View File

@ -41,7 +41,18 @@ cat $SEARCHOUT
if test $RC != 0 ; then
echo ">>>>> Test failed"
else
echo ">>>>> Test succeeded"
if grep PRNG $SEARCHOUT; then
cat << EOF
You need a pseudo random number generator, such as a /dev/urandom,
/dev/urandom, or an entropy gathering daemon. Alternatively, you
can use openssl to generate a $HOME/.rnd file.
See www.openssl.org for more details on how to do this.
EOF
RC=-1
else
echo ">>>>> Test succeeded"
fi
fi