From bafd4055b81ffe978ac76fdd731a74bb22c27958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 26 Feb 2008 13:19:52 +0000 Subject: [PATCH] Don't test the chmod 0'ed keytab, since that test doesn't work for root git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22659 ec53bebd-3082-4978-b11e-865c3cabbd6b --- tests/gss/check-context.in | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/tests/gss/check-context.in b/tests/gss/check-context.in index c76cc14d2..cd257772b 100644 --- a/tests/gss/check-context.in +++ b/tests/gss/check-context.in @@ -108,19 +108,7 @@ ${kinit} --password-file=${objdir}/foopassword user1@${R} || exitcode=1 echo "======test unreadable/non existant keytab and its error message" ${context} --mech-type=krb5 host@lucid.test.h5l.se || \ { exitcode=1 ; echo "test failed"; } -chmod 0 ${keytabfile} -echo "checking non readable keytabfile (krb5)" -${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"; } -echo "checking non readable keytabfile (spnego)" -${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} mv ${keytabfile} ${keytabfile}.no echo "checking non existant keytabfile (krb5)"