From: Randy Kunkee Date: Sun, 10 Sep 2000 19:38:21 +0000 (+0000) Subject: Grep for PRNG message in $SEARCHOUT to make sure error is caught. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2063 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b8569b2b1dbc554ac080e40a50d62f4ba66139dc;p=openldap Grep for PRNG message in $SEARCHOUT to make sure error is caught. --- diff --git a/tests/scripts/test000-rootdse b/tests/scripts/test000-rootdse index 47ddc2abe5..d11c5c44ca 100755 --- a/tests/scripts/test000-rootdse +++ b/tests/scripts/test000-rootdse @@ -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