summaryrefslogtreecommitdiffstats
path: root/proxy/tests
diff options
context:
space:
mode:
Diffstat (limited to 'proxy/tests')
-rw-r--r--proxy/tests/t_multi_key.py2
-rwxr-xr-xproxy/tests/t_reloading.py4
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"