summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2010-03-05 19:30:32 +0000
committerGreg Hudson <ghudson@mit.edu>2010-03-05 19:30:32 +0000
commit96c25b4797edb048ca7fb8dab4d79e3176384e47 (patch)
treed4c638375c6d8ef0dc66a9c67ab7bd573b1666df /src/tests
parent1a48eabaa178ccd6b9c6092e7df046f672399213 (diff)
downloadkrb5-96c25b4797edb048ca7fb8dab4d79e3176384e47.tar.gz
krb5-96c25b4797edb048ca7fb8dab4d79e3176384e47.tar.xz
krb5-96c25b4797edb048ca7fb8dab4d79e3176384e47.zip
Add a message parameter to k5test's success(), to briefly indicate the
scope of test scripts. Only displayed when verbose is set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23768 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/t_anonpkinit.py2
-rwxr-xr-xsrc/tests/t_general.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/t_anonpkinit.py b/src/tests/t_anonpkinit.py
index 4ed03d974..e75cf38e1 100644
--- a/src/tests/t_anonpkinit.py
+++ b/src/tests/t_anonpkinit.py
@@ -31,4 +31,4 @@ realm.addprinc('WELLKNOWN/ANONYMOUS')
realm.kinit('@%s' % realm.realm, flags=['-n'])
realm.klist('WELLKNOWN/ANONYMOUS@WELLKNOWN:ANONYMOUS')
-success()
+success('Anonymous PKINIT.')
diff --git a/src/tests/t_general.py b/src/tests/t_general.py
index fb0649d57..cb2fcbc74 100755
--- a/src/tests/t_general.py
+++ b/src/tests/t_general.py
@@ -11,7 +11,7 @@ for realm in multipass_realms(create_host=False):
if 'fred\n' not in output:
fail('Policy not preserved across dump/load.')
- # Check that kinit fails appropriatel with the wrong password.
+ # Check that kinit fails appropriately with the wrong password.
output = realm.run_as_client([kinit, realm.user_princ], input='wrong\n',
expected_code=1)
if 'Password incorrect while getting initial credentials' not in output:
@@ -45,4 +45,4 @@ for realm in multipass_realms(create_host=False):
if 'Key: vno 258,' not in output:
fail('Expected vno not seen in kadmin.local output')
-success()
+success('Dump/load, FAST kinit, kdestroy, kvno wrapping.')