From f541575c484cd72436a5b684961af0762be5573a Mon Sep 17 00:00:00 2001 From: Robbie Harwood Date: Jan 12 2017 16:52:20 +0000 Subject: Indent subtests Signed-off-by: Robbie Harwood Reviewed-by: Simo Sorce --- diff --git a/tests/t_multi_key.py b/tests/t_multi_key.py index 3211c9a..8969cbb 100644 --- a/tests/t_multi_key.py +++ b/tests/t_multi_key.py @@ -23,6 +23,7 @@ def run(testdir, env, conf): print("Testing multiple keys Keytab with first principal", file=sys.stderr) + sys.stderr.write(" ") conf["prefix"] = prefix + "_1" if os.path.exists(os.path.join(testdir, 'gssproxy', 'gpccache')): os.unlink(os.path.join(testdir, 'gssproxy', 'gpccache')) @@ -37,6 +38,7 @@ def run(testdir, env, conf): print("Testing multiple keys Keytab with second principal", file=sys.stderr) + sys.stderr.write(" ") if os.path.exists(os.path.join(testdir, 'gssproxy', 'gpccache')): os.unlink(os.path.join(testdir, 'gssproxy', 'gpccache')) conf['prefix'] = prefix + "_2" diff --git a/tests/t_reloading.py b/tests/t_reloading.py index 46a262e..30312f7 100755 --- a/tests/t_reloading.py +++ b/tests/t_reloading.py @@ -9,12 +9,14 @@ def run(testdir, env, basicconf): keysenv = basicconf["keysenv"] print("Testing basic SIGHUP with no change", file=sys.stderr) + sys.stderr.write(" ") basicconf['prefix'] += prefix + "_1" os.kill(basicconf["gpid"], signal.SIGHUP) time.sleep(1) #Let gssproxy reload everything run_basic_test(testdir, env, basicconf) print("Testing SIGHUP with dropped service", file=sys.stderr) + sys.stderr.write(" ") basicconf['prefix'] = prefix + "_2" update_gssproxy_conf(testdir, keysenv, GSSPROXY_CONF_MINIMAL_TEMPLATE) os.kill(basicconf["gpid"], signal.SIGHUP) @@ -22,6 +24,7 @@ def run(testdir, env, basicconf): run_basic_test(testdir, env, basicconf, True) print("Testing SIGHUP with new service", file=sys.stderr) + sys.stderr.write(" ") basicconf['prefix'] = prefix + "_3" update_gssproxy_conf(testdir, keysenv, GSSPROXY_CONF_TEMPLATE) os.kill(basicconf["gpid"], signal.SIGHUP) @@ -29,6 +32,7 @@ def run(testdir, env, basicconf): run_basic_test(testdir, env, basicconf) print("Testing SIGHUP with change of socket", file=sys.stderr) + sys.stderr.write(" ") basicconf['prefix'] = prefix + "_4" update_gssproxy_conf(testdir, keysenv, GSSPROXY_CONF_SOCKET_TEMPLATE) env['GSSPROXY_SOCKET'] += "2"