Blob Blame History Raw
From 77c3f655f684761efe957722e500887f3199fc5f Mon Sep 17 00:00:00 2001
From: Matt Rogers <mrogers@redhat.com>
Date: Fri, 15 Jul 2016 10:32:51 -0400
Subject: [PATCH] Update iprop tests for kadmind -k

Test the use of the -k kprop-port option.

ticket: 8456
---
 src/tests/t_iprop.py | 5 ++---
 1 file 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')
-- 
2.8.1