svn rev #25432: trunk/src/ appl/user_user/ kdc/ lib/kdb/ lib/krb5/ccache/ lib/krb5/krb/ ...

ghudson@MIT.EDU ghudson at MIT.EDU
Thu Nov 3 13:42:46 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25432
Commit By: ghudson
Log Message:
Get rid of periods in Python test success messages


Changed Files:
U   trunk/src/appl/user_user/t_user2user.py
U   trunk/src/kdc/t_workers.py
U   trunk/src/lib/kdb/t_stringattr.py
U   trunk/src/lib/krb5/ccache/t_cccol.py
U   trunk/src/lib/krb5/krb/t_expire_warn.py
U   trunk/src/lib/krb5/krb/t_vfy_increds.py
U   trunk/src/tests/gssapi/t_ccselect.py
U   trunk/src/tests/gssapi/t_gssapi.py
U   trunk/src/tests/t_anonpkinit.py
U   trunk/src/tests/t_cccol.py
U   trunk/src/tests/t_crossrealm.py
U   trunk/src/tests/t_general.py
U   trunk/src/tests/t_lockout.py
U   trunk/src/tests/t_renew.py
U   trunk/src/tests/t_renprinc.py
U   trunk/src/tests/t_stringattr.py
U   trunk/src/util/gss-kernel-lib/t_kgss.py
U   trunk/src/util/k5test.py
Modified: trunk/src/appl/user_user/t_user2user.py
===================================================================
--- trunk/src/appl/user_user/t_user2user.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/appl/user_user/t_user2user.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -15,4 +15,4 @@
         fail('Message not echoed back.')
 
 
-success('User-2-user test programs.')
+success('User-2-user test programs')

Modified: trunk/src/kdc/t_workers.py
===================================================================
--- trunk/src/kdc/t_workers.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/kdc/t_workers.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -5,4 +5,4 @@
 realm.start_kdc(['-w', '3'])
 realm.kinit(realm.user_princ, password('user'))
 realm.klist(realm.user_princ)
-success('KDC worker processes.')
+success('KDC worker processes')

Modified: trunk/src/lib/kdb/t_stringattr.py
===================================================================
--- trunk/src/lib/kdb/t_stringattr.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/lib/kdb/t_stringattr.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -3,4 +3,4 @@
 
 realm = K5Realm(create_kdb=False)
 realm.run_as_master(['./t_stringattr'])
-success('String attribute unit tests.')
+success('String attribute unit tests')

Modified: trunk/src/lib/krb5/ccache/t_cccol.py
===================================================================
--- trunk/src/lib/krb5/ccache/t_cccol.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/lib/krb5/ccache/t_cccol.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -41,4 +41,4 @@
 realm.run_as_client([kdestroy])
 cursor_test('noexist', [], [])
 
-success('Renewing credentials.')
+success('Renewing credentials')

Modified: trunk/src/lib/krb5/krb/t_expire_warn.py
===================================================================
--- trunk/src/lib/krb5/krb/t_expire_warn.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/lib/krb5/krb/t_expire_warn.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -60,4 +60,4 @@
         'password_expiration = 0\n' in output:
     fail('Expected non-zero password expiration not seen for days')
 
-success('Password expiration warning tests.')
+success('Password expiration warning tests')

Modified: trunk/src/lib/krb5/krb/t_vfy_increds.py
===================================================================
--- trunk/src/lib/krb5/krb/t_vfy_increds.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/lib/krb5/krb/t_vfy_increds.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -51,4 +51,4 @@
 os.remove(realm.keytab)
 realm.run_as_server(['./t_vfy_increds'], expected_code=1)
 
-success('krb5_verify_init_creds tests.')
+success('krb5_verify_init_creds tests')

Modified: trunk/src/tests/gssapi/t_ccselect.py
===================================================================
--- trunk/src/tests/gssapi/t_ccselect.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/gssapi/t_ccselect.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -119,4 +119,4 @@
 if 'does not match desired' not in output:
     fail('Expected error not seen when k5identity selects bad principal.')
 
-success('GSSAPI credential selection tests.')
+success('GSSAPI credential selection tests')

Modified: trunk/src/tests/gssapi/t_gssapi.py
===================================================================
--- trunk/src/tests/gssapi/t_gssapi.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/gssapi/t_gssapi.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -92,4 +92,4 @@
 if 'host/-nomatch-' not in output:
     fail('Expected host/-nomatch- in t_accname output')
 
-success('GSSAPI tests.')
+success('GSSAPI tests')

Modified: trunk/src/tests/t_anonpkinit.py
===================================================================
--- trunk/src/tests/t_anonpkinit.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_anonpkinit.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -3,7 +3,7 @@
 
 # Skip this test if pkinit wasn't built.
 if not os.path.exists(os.path.join(plugins, 'preauth', 'pkinit.so')):
-    success('Warning: not testing pkinit because it is not built.')
+    success('Warning: not testing pkinit because it is not built')
     exit(0)
 
 # Construct a krb5.conf fragment configuring pkinit.
@@ -44,4 +44,4 @@
 realm.kinit('@%s' % realm.realm, flags=['-n'])
 realm.run_as_client([kvno, realm.host_princ], expected_code=1)
 
-success('Anonymous PKINIT.')
+success('Anonymous PKINIT')

Modified: trunk/src/tests/t_cccol.py
===================================================================
--- trunk/src/tests/t_cccol.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_cccol.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -74,4 +74,4 @@
 if not output.endswith('---\n') or output.count('\n') != 2:
     fail('kdestroy -a failed to empty cache collection.')
 
-success('Credential cache collection tests.')
+success('Credential cache collection tests')

Modified: trunk/src/tests/t_crossrealm.py
===================================================================
--- trunk/src/tests/t_crossrealm.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_crossrealm.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -114,4 +114,4 @@
     fail('transited 2: Expected error message not in output')
 stop(r1, r2, r3, r4)
 
-success('Cross-realm tests.')
+success('Cross-realm tests')

Modified: trunk/src/tests/t_general.py
===================================================================
--- trunk/src/tests/t_general.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_general.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -50,4 +50,4 @@
     if 'Key: vno 258,' not in output:
         fail('Expected vno not seen in kadmin.local output')
 
-success('Dump/load, FAST kinit, kdestroy, kvno wrapping.')
+success('Dump/load, FAST kinit, kdestroy, kvno wrapping')

Modified: trunk/src/tests/t_lockout.py
===================================================================
--- trunk/src/tests/t_lockout.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_lockout.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -48,5 +48,5 @@
 output = realm.run_kadminl('modprinc -unlock user')
 realm.kinit(realm.user_princ, password('user'))
 
-success('Account lockout.')
+success('Account lockout')
 

Modified: trunk/src/tests/t_renew.py
===================================================================
--- trunk/src/tests/t_renew.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_renew.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -13,4 +13,4 @@
 realm.kinit(realm.user_princ, flags=['-R'])
 realm.klist(realm.user_princ)
 
-success('Renewing credentials.')
+success('Renewing credentials')

Modified: trunk/src/tests/t_renprinc.py
===================================================================
--- trunk/src/tests/t_renprinc.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_renprinc.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -43,4 +43,4 @@
 realm.run_kadminl('renprinc -force newnormal newnormal2')
 realm.kinit('newnormal2', password('normal'))
 
-success('Principal renaming tests.')
+success('Principal renaming tests')

Modified: trunk/src/tests/t_stringattr.py
===================================================================
--- trunk/src/tests/t_stringattr.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/tests/t_stringattr.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -53,4 +53,4 @@
         'attr1:' in output:
     fail('Final attribute query')
 
-success('KDB string attributes.')
+success('KDB string attributes')

Modified: trunk/src/util/gss-kernel-lib/t_kgss.py
===================================================================
--- trunk/src/util/gss-kernel-lib/t_kgss.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/util/gss-kernel-lib/t_kgss.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -27,4 +27,4 @@
 for realm in multipass_realms():
     realm.run_as_client(['./t_kgss_user', realm.host_princ])
 
-success('Kernel GSSAPI subset tests.')
+success('Kernel GSSAPI subset tests')

Modified: trunk/src/util/k5test.py
===================================================================
--- trunk/src/util/k5test.py	2011-11-03 17:42:43 UTC (rev 25431)
+++ trunk/src/util/k5test.py	2011-11-03 17:42:46 UTC (rev 25432)
@@ -42,7 +42,7 @@
     realm.run_as_client(['./clientprog', realm.host_princ])
 
     # Inform framework that tests completed successfully.
-    success('World peace and cure for cancer.')
+    success('World peace and cure for cancer')
 
 By default, the realm will have:
 




More information about the cvs-krb5 mailing list