From 10b9de788381bd501f376ee6546e74dbb424d6f9 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Fri, 5 Mar 2010 20:33:37 +0000 Subject: [PATCH] Add a Python test to run t_spnego git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23771 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/gssapi/Makefile.in | 4 ++++ src/tests/gssapi/t_gssapi.py | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 src/tests/gssapi/t_gssapi.py diff --git a/src/tests/gssapi/Makefile.in b/src/tests/gssapi/Makefile.in index 6a154140e..17d05878d 100644 --- a/src/tests/gssapi/Makefile.in +++ b/src/tests/gssapi/Makefile.in @@ -8,8 +8,12 @@ SRCS= $(srcdir)/t_imp_name.c $(srcdir)/t_s4u.c $(srcdir)/t_namingexts.c $(srcdir OBJS= t_imp_name.o t_s4u.o t_namingexts.o t_gssexts.o +PYTESTS= t_gssapi.py + all:: t_imp_name t_s4u t_namingexts t_gssexts t_spnego +check-pytests:: t_spnego + t_imp_name: t_imp_name.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS) $(CC_LINK) -o t_imp_name t_imp_name.o $(GSS_LIBS) $(KRB5_BASE_LIBS) t_s4u: t_s4u.o $(GSS_DEPLIBS) $(KRB5_BASE_DEPLIBS) diff --git a/src/tests/gssapi/t_gssapi.py b/src/tests/gssapi/t_gssapi.py new file mode 100644 index 000000000..d88f7949b --- /dev/null +++ b/src/tests/gssapi/t_gssapi.py @@ -0,0 +1,7 @@ +#!/usr/bin/python +from k5test import * + +for realm in multipass_realms(): + realm.run_as_client(['./t_spnego', realm.host_princ, realm.keytab]) + +success('GSSAPI test programs (SPNEGO only).') -- 2.26.2