svn rev #23532: trunk/src/tests/dejagnu/ config/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Dec 28 15:13:39 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=23532
Commit By: ghudson
Log Message:
Add dejagnu test suite support for finding the preauth modules in the
fake install.  Not yet tested, except to verify that it doesn't break
the existing test suite.



Changed Files:
U   trunk/src/tests/dejagnu/Makefile.in
U   trunk/src/tests/dejagnu/config/default.exp
Modified: trunk/src/tests/dejagnu/Makefile.in
===================================================================
--- trunk/src/tests/dejagnu/Makefile.in	2009-12-28 19:59:10 UTC (rev 23531)
+++ trunk/src/tests/dejagnu/Makefile.in	2009-12-28 20:13:39 UTC (rev 23532)
@@ -43,5 +43,6 @@
 	echo "set runvarlist [list `cat runenv.vals | tr '\n' ' '`]" | \
 		sed -e 's%=\.%='`pwd`'/.%g' > site.exp
 	echo "set KRB5_DB_MODULE_DIR {$(KRB5_DB_MODULE_DIR)}" >> site.exp
+	echo "set KRB5_PA_MODULE_DIR {$(KRB5_PA_MODULE_DIR)}" >> site.exp
 	echo "set PRIOCNTL_HACK @PRIOCNTL_HACK@" >> site.exp
 

Modified: trunk/src/tests/dejagnu/config/default.exp
===================================================================
--- trunk/src/tests/dejagnu/config/default.exp	2009-12-28 19:59:10 UTC (rev 23531)
+++ trunk/src/tests/dejagnu/config/default.exp	2009-12-28 20:13:39 UTC (rev 23532)
@@ -968,6 +968,7 @@
     global mode
     global portbase
     global KRB5_DB_MODULE_DIR
+    global KRB5_PA_MODULE_DIR
 
     # Create a krb5.conf file.
     if { ![file exists $tmppwd/krb5.$type.conf] \
@@ -992,6 +993,7 @@
 	if { $mode == "tcp" } {
 	    puts $conffile "	udp_preference_limit = 1"
 	}
+	puts $conffile "	preauth_module_dir = $tmppwd/../../../util/fakedest$KRB5_PA_MODULE_DIR"
 	puts $conffile ""
 	puts $conffile "\[realms\]"
 	puts $conffile "	$REALMNAME = \{"




More information about the cvs-krb5 mailing list