log failures
This commit is contained in:
@@ -54,14 +54,16 @@ for a in unix fortuna egd ;do
|
|||||||
${rand} --method=${a} --file=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 || \
|
||||||
|
{ echo "random ready failing" ; cat error; exit 1; }
|
||||||
echo "random method $a out for lunch"
|
echo "random method $a out for lunch"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
${rand} --method=${a} --file=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 || \
|
||||||
|
{ echo "random ready failing" ; cat error; exit 1; }
|
||||||
echo "random metod $a out for dinner"
|
echo "random metod $a out for dinner"
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user