log what the error string say too
This commit is contained in:
@@ -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 && \
|
${context} --mech-type=krb5 host@lucid.test.h5l.se > test_context.log 2>&1 && \
|
||||||
{ eval "$testfailed"; }
|
{ eval "$testfailed"; }
|
||||||
grep ${keytabfile} test_context.log > /dev/null || \
|
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
|
echo "checking non existant keytabfile (spengo)" ; > messages.log
|
||||||
${context} --mech-type=spnego host@lucid.test.h5l.se > test_context.log 2>&1 && \
|
${context} --mech-type=spnego host@lucid.test.h5l.se > test_context.log 2>&1 && \
|
||||||
{ eval "$testfailed"; }
|
{ eval "$testfailed"; }
|
||||||
grep ${keytabfile} test_context.log > /dev/null || \
|
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}
|
mv ${keytabfile}.no ${keytabfile}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user