svn rev #23771: trunk/src/tests/gssapi/

ghudson@MIT.EDU ghudson at MIT.EDU
Fri Mar 5 15:33:38 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=23771
Commit By: ghudson
Log Message:
Add a Python test to run t_spnego.


Changed Files:
U   trunk/src/tests/gssapi/Makefile.in
A   trunk/src/tests/gssapi/t_gssapi.py
Modified: trunk/src/tests/gssapi/Makefile.in
===================================================================
--- trunk/src/tests/gssapi/Makefile.in	2010-03-05 20:32:40 UTC (rev 23770)
+++ trunk/src/tests/gssapi/Makefile.in	2010-03-05 20:33:37 UTC (rev 23771)
@@ -8,8 +8,12 @@
 
 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)

Added: trunk/src/tests/gssapi/t_gssapi.py
===================================================================
--- trunk/src/tests/gssapi/t_gssapi.py	                        (rev 0)
+++ trunk/src/tests/gssapi/t_gssapi.py	2010-03-05 20:33:37 UTC (rev 23771)
@@ -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).')




More information about the cvs-krb5 mailing list