From 5557a69d87629df26283094e934a63ba9898f824 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 13 Feb 2008 22:18:26 +0000 Subject: Additional flags for the Stanford hacked kinit so that the test suite can run in AFS. --- perl/t/lib/Util.pm | 2 +- tests/client/basic-t.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/perl/t/lib/Util.pm b/perl/t/lib/Util.pm index 7b41e53..a1bacbd 100644 --- a/perl/t/lib/Util.pm +++ b/perl/t/lib/Util.pm @@ -76,7 +76,7 @@ sub getcreds { my @commands = ( "kinit -k -t $file $principal >/dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 /dev/null 2>&1 fi if [ $? != 0 ] ; then - kinit -k -K data/test.keytab "$principal" > /dev/null 2>&1 + kinit -T /bin/true -k -K data/test.keytab "$principal" > /dev/null 2>&1 fi if [ $? != 0 ] ; then echo 'Unable to obtain Kerberos tickets' >&2 -- cgit v1.2.3