Add dejagnu test suite support for finding the preauth modules in the
authorGreg Hudson <ghudson@mit.edu>
Mon, 28 Dec 2009 20:13:39 +0000 (20:13 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 28 Dec 2009 20:13:39 +0000 (20:13 +0000)
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
src/tests/dejagnu/config/default.exp

index 51e9c1f0cc975b8bbe78567f8946d9fa828bfbcc..5d4d373587e8e1a7a8965e6213c56000661ec7d9 100644 (file)
@@ -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
 
index 84067fb4302891299ee85f293f32a47474e7d254..d7c41fe3df7c6b38366b2fd27f31ff8a6491bce8 100644 (file)
@@ -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 = \{"