mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-27 03:20:22 +08:00
Grep for PRNG message in $SEARCHOUT to make sure error is caught.
This commit is contained in:
parent
84583b6494
commit
b8569b2b1d
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user