From 3ac7d626c266ba69e414a689bf8993f2bdb91d31 Mon Sep 17 00:00:00 2001 From: Love Hornquist Astrand Date: Sun, 21 Mar 2010 09:37:42 -0700 Subject: [PATCH] log failures --- lib/hcrypto/test_crypto.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/hcrypto/test_crypto.in b/lib/hcrypto/test_crypto.in index 5dac31d56..194712d28 100644 --- a/lib/hcrypto/test_crypto.in +++ b/lib/hcrypto/test_crypto.in @@ -54,14 +54,16 @@ for a in unix fortuna egd ;do ${rand} --method=${a} --file=crypto-test 2>error res=$? 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" continue fi ${rand} --method=${a} --file=crypto-test2 2>error res=$? 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" continue fi