diff options
author | Robbie Harwood <rharwood@redhat.com> | 2016-12-07 20:15:14 +0000 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2017-01-12 11:52:20 -0500 |
commit | 40729d65b10242d7c76691988994e673dcfad598 (patch) | |
tree | acc161c0e1b8b90cbaa0712eddc8086ce349d3e1 | |
parent | 422e51232422b5604bf3c121c4771e708cdb5774 (diff) | |
download | gss-proxy-40729d65b10242d7c76691988994e673dcfad598.tar.gz gss-proxy-40729d65b10242d7c76691988994e673dcfad598.tar.xz gss-proxy-40729d65b10242d7c76691988994e673dcfad598.zip |
Indent subtests
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | proxy/tests/t_multi_key.py | 2 | ||||
-rwxr-xr-x | proxy/tests/t_reloading.py | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/proxy/tests/t_multi_key.py b/proxy/tests/t_multi_key.py index 3211c9a..8969cbb 100644 --- a/proxy/tests/t_multi_key.py +++ b/proxy/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/proxy/tests/t_reloading.py b/proxy/tests/t_reloading.py index 46a262e..30312f7 100755 --- a/proxy/tests/t_reloading.py +++ b/proxy/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" |