From 51c0537eef1ba766296d130a3e5c39b17947b3e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Sun, 3 Feb 2008 18:19:32 +0000 Subject: [PATCH] Does not work yet error case. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22567 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tests/gss/check-context.in | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tests/gss/check-context.in b/tests/gss/check-context.in index 1adf518fd..f66138b51 100644 --- a/tests/gss/check-context.in +++ b/tests/gss/check-context.in @@ -110,14 +110,19 @@ ${context} --mech-type=krb5 host@lucid.test.h5l.se || \ { exitcode=1 ; echo "test failed"; } chmod 0 ${keytabfile} echo "checking non readable keytabfile" -${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 && \ { exitcode=1 ; echo "test failed"; } grep ${keytabfile} test_context.log > /dev/null || \ { exitcode=1 ; echo "test failed"; } +#does not work yet +#${context} --mech-type=spnego host@lucid.test.h5l.se > test_context.log 2>&1 && \ +# { exitcode=1 ; echo "test failed"; } +#grep ${keytabfile} test_context.log > /dev/null || \ +# { exitcode=1 ; echo "test failed"; } chmod 600 ${keytabfile} echo "checking non existant keytabfile" mv ${keytabfile} ${keytabfile}.no -${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 && \ { exitcode=1 ; echo "test failed"; } grep ${keytabfile} test_context.log > /dev/null || \ { exitcode=1 ; echo "test failed"; }