krb5 commit: Update iprop tests for kadmind -k

Greg Hudson ghudson at mit.edu
Mon Jul 18 13:29:07 EDT 2016


https://github.com/krb5/krb5/commit/77c3f655f684761efe957722e500887f3199fc5f
commit 77c3f655f684761efe957722e500887f3199fc5f
Author: Matt Rogers <mrogers at redhat.com>
Date:   Fri Jul 15 10:32:51 2016 -0400

    Update iprop tests for kadmind -k
    
    Test the use of the -k kprop-port option.
    
    ticket: 8456

 src/tests/t_iprop.py |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/tests/t_iprop.py b/src/tests/t_iprop.py
index 63ed118..e64fdd2 100755
--- a/src/tests/t_iprop.py
+++ b/src/tests/t_iprop.py
@@ -223,10 +223,9 @@ if 'Attributes: DISALLOW_ALL_TIX' not in out:
 slave1_out_dump_path = os.path.join(realm.testdir, 'dump.slave1.out')
 slave2_in_dump_path = os.path.join(realm.testdir, 'dump.slave2.in')
 slave2_kprop_port = str(realm.portbase + 9)
-slave1m['KPROP_PORT'] = slave2_kprop_port
 realm.start_server([kadmind, '-r', realm.realm, '-nofork', '-proponly', '-W',
-                    '-p', kdb5_util, '-K', kprop, '-F', slave1_out_dump_path],
-                   'starting...', slave1m)
+                    '-p', kdb5_util, '-K', kprop, '-k', slave2_kprop_port,
+                    '-F', slave1_out_dump_path], 'starting...', slave1m)
 
 # Test similar default_realm and domain_realm map settings with -r realm.
 slave3_in_dump_path = os.path.join(realm.testdir, 'dump.slave3.in')


More information about the cvs-krb5 mailing list