krb5 commit [krb5-1.14]: Add test coverage for GSS context export/import
Tom Yu
tlyu at mit.edu
Thu Nov 5 15:22:42 EST 2015
https://github.com/krb5/krb5/commit/e802afa475291762b57ba2d27ce5c81dbaec2c07
commit e802afa475291762b57ba2d27ce5c81dbaec2c07
Author: Greg Hudson <ghudson at mit.edu>
Date: Sun Nov 1 22:47:53 2015 -0500
Add test coverage for GSS context export/import
Pass the -export flag to gss-server in t_gss_sample.py, in order to
test context export and import for each of the mechanisms.
(cherry picked from commit bee2d867248b24c627da4c2ef270c8de15fd96f9)
ticket: 8273
version_fixed: 1.14
status: resolved
src/appl/gss-sample/t_gss_sample.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/appl/gss-sample/t_gss_sample.py b/src/appl/gss-sample/t_gss_sample.py
index 964e3ba..8a6b030 100755
--- a/src/appl/gss-sample/t_gss_sample.py
+++ b/src/appl/gss-sample/t_gss_sample.py
@@ -33,7 +33,8 @@ gss_server = os.path.join(appdir, 'gss-server')
# given by server_options. Return the output of gss-client.
def run_client_server(realm, options, server_options, expected_code=0):
portstr = str(realm.server_port())
- server_args = [gss_server, '-port', portstr] + server_options + ['host']
+ server_args = [gss_server, '-export', '-port', portstr]
+ server_args += server_options + ['host']
server = realm.start_server(server_args, 'starting...')
out = realm.run([gss_client, '-port', portstr] + options +
[hostname, 'host', 'testmsg'], expected_code=expected_code)
More information about the cvs-krb5
mailing list