diff options
author | Russ Allbery <rra@stanford.edu> | 2008-02-13 22:18:26 +0000 |
---|---|---|
committer | Russ Allbery <rra@stanford.edu> | 2008-02-13 22:18:26 +0000 |
commit | 5557a69d87629df26283094e934a63ba9898f824 (patch) | |
tree | 825037de18babc6457bce22566a64b6781798b51 | |
parent | 4a3486cc75336c5324b7f970ff200381cb9b80ef (diff) |
Additional flags for the Stanford hacked kinit so that the test suite
can run in AFS.
-rw-r--r-- | perl/t/lib/Util.pm | 2 | ||||
-rw-r--r-- | 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", "kinit -t $file $principal >/dev/null 2>&1 </dev/null", - "kinit -k -K $file $principal >/dev/null 2>&1 </dev/null", + "kinit -T /bin/true -k -K $file $principal >/dev/null 2>&1 </dev/null", ); for my $command (@commands) { if (system ($command) == 0) { diff --git a/tests/client/basic-t.in b/tests/client/basic-t.in index 26a020e..3a9b2c3 100644 --- a/tests/client/basic-t.in +++ b/tests/client/basic-t.in @@ -35,7 +35,7 @@ if [ $? != 0 ] ; then kinit -t data/test.keytab "$principal" > /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 |