From 2656433242405bba721ff2dd46047a38669a3fd3 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 28 Dec 2009 20:13:39 +0000 Subject: [PATCH] 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23532 dc483132-0cff-0310-8789-dd5450dbe970 --- src/tests/dejagnu/Makefile.in | 1 + src/tests/dejagnu/config/default.exp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in index 51e9c1f0c..5d4d37358 100644 --- a/src/tests/dejagnu/Makefile.in +++ b/src/tests/dejagnu/Makefile.in @@ -43,5 +43,6 @@ site.exp: runenv.vals Makefile 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 diff --git a/src/tests/dejagnu/config/default.exp b/src/tests/dejagnu/config/default.exp index 84067fb43..d7c41fe3d 100644 --- a/src/tests/dejagnu/config/default.exp +++ b/src/tests/dejagnu/config/default.exp @@ -968,6 +968,7 @@ proc setup_krb5_conf { {type client} } { 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 @@ proc setup_krb5_conf { {type client} } { 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 = \{" -- 2.26.2