log what the error string say too

This commit is contained in:
Love Hornquist Astrand
2009-12-14 23:15:56 -08:00
parent 3a42c1f7cb
commit a2378f6b82

View File

@@ -139,12 +139,12 @@ echo "checking non existant keytabfile (krb5)" ; > messages.log
${context} --mech-type=krb5 host@lucid.test.h5l.se > test_context.log 2>&1 && \
{ eval "$testfailed"; }
grep ${keytabfile} test_context.log > /dev/null || \
{ echo "string missing failed"; eval "$testfailed"; }
{ echo "string missing failed"; cat test_context.log ; eval "$testfailed"; }
echo "checking non existant keytabfile (spengo)" ; > messages.log
${context} --mech-type=spnego host@lucid.test.h5l.se > test_context.log 2>&1 && \
{ eval "$testfailed"; }
grep ${keytabfile} test_context.log > /dev/null || \
{ echo "string missing failed"; eval "$testfailed"; }
{ echo "string missing failed"; cat test_context.log ; eval "$testfailed"; }
mv ${keytabfile}.no ${keytabfile}