svn rev #25431: trunk/src/tests/

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


http://src.mit.edu/fisheye/changelog/krb5/?cs=25431
Commit By: ghudson
Log Message:
Clean up realms as we go in t_crossrealm.py


Changed Files:
U   trunk/src/tests/t_crossrealm.py
Modified: trunk/src/tests/t_crossrealm.py
===================================================================
--- trunk/src/tests/t_crossrealm.py	2011-11-03 17:42:41 UTC (rev 25430)
+++ trunk/src/tests/t_crossrealm.py	2011-11-03 17:42:43 UTC (rev 25431)
@@ -68,6 +68,7 @@
                                      'krb5_conf': {'master': capaths}}),
                               start_kadmind=False)
 test_kvno(r1, r4.host_princ, 'client capaths')
+stop(r1, r2, r3, r4)
 
 # Test KDC capaths.  The KDCs for A and B have appropriate capaths
 # settings to determine intermediate TGTs to return, but the client
@@ -81,6 +82,7 @@
                                     {'realm': 'D', 'krb5_conf': conf}),
                               start_kadmind=False)
 test_kvno(r1, r4.host_princ, 'KDC capaths')
+stop(r1, r2, r3, r4)
 
 # Test transited error.  The KDC for C does not recognize B as an
 # intermediate realm for A->C, so it refuses to issue a service
@@ -94,6 +96,7 @@
 output = r1.run_as_client([kvno, r3.host_princ], expected_code=1)
 if 'KDC policy rejects request' not in output:
     fail('transited 1: Expected error message not in output')
+stop(r1, r2, r3)
 
 # Test a different kind of transited error.  The KDC for D does not
 # recognize B as an intermediate realm for A->C, so it refuses to
@@ -109,5 +112,6 @@
 output = r1.run_as_client([kvno, r4.host_princ], expected_code=1)
 if 'Illegal cross-realm ticket' not in output:
     fail('transited 2: Expected error message not in output')
+stop(r1, r2, r3, r4)
 
 success('Cross-realm tests.')




More information about the cvs-krb5 mailing list