summaryrefslogtreecommitdiff
path: root/wintest/test-s4-howto.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-29 17:19:55 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-29 08:49:36 +0100
commit702508745682c29cb3f9959b7c22d535b767459f (patch)
tree4e455495e3b0a194a10e8c1680383e5b0f325663 /wintest/test-s4-howto.py
parentdc0c89cf405e7cc1d66540c4f94b1b395da2439a (diff)
downloadsamba-702508745682c29cb3f9959b7c22d535b767459f.tar.gz
wintest: cope with the heimdal version of kinit
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Mon Nov 29 08:49:36 CET 2010 on sn-devel-104
Diffstat (limited to 'wintest/test-s4-howto.py')
-rwxr-xr-xwintest/test-s4-howto.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index ae0dc1437a5..8f57553929b 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -239,7 +239,8 @@ def test_kerberos(t):
t.info("Testing kerberos")
t.run_cmd("kdestroy")
t.kinit("administrator@${REALM}", "${PASSWORD1}")
- t.cmd_contains("klist -e", ["Ticket cache", "Default principal", "Valid starting"])
+ # this copes with the differences between MIT and Heimdal klist
+ t.cmd_contains("klist", ["rincipal", "administrator@${REALM}"])
def test_dyndns(t):