summaryrefslogtreecommitdiffstats
path: root/src/tests/dejagnu/Makefile.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-11-17 21:34:48 +0000
committerKen Raeburn <raeburn@mit.edu>2008-11-17 21:34:48 +0000
commitc568a520f516297701bdf5a556a6b873b66c6ae5 (patch)
treea338a8dc68b96de5d25b133c7fea91ab337752f8 /src/tests/dejagnu/Makefile.in
parent35512dc03374b199afb6d5f5cb1e399aee63d60e (diff)
downloadkrb5-c568a520f516297701bdf5a556a6b873b66c6ae5.tar.gz
krb5-c568a520f516297701bdf5a556a6b873b66c6ae5.tar.xz
krb5-c568a520f516297701bdf5a556a6b873b66c6ae5.zip
Set krb4 and priocntl flags via site.exp instead of command line
Update set of files to clean out at test suite startup, or when deleting the database. Improve support for setting up slave test environment. Don't set KRB5_KDC_PROFILE except in KDC master and slave environments. Create distinct env.sh and env.csh files for different configurations. Move kpropd setup proc into common initialization. Add incremental propagation test: Create new kiprop/$host principal, update kproplog test for the new data. "Propagate" the master database to the slave, add a new principal, start up kpropd, watch for the "OK" message, and check to see if the new principal exists on the slave. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21134 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/tests/dejagnu/Makefile.in')
-rw-r--r--src/tests/dejagnu/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/dejagnu/Makefile.in b/src/tests/dejagnu/Makefile.in
index 75db99789..83d73e9bf 100644
--- a/src/tests/dejagnu/Makefile.in
+++ b/src/tests/dejagnu/Makefile.in
@@ -21,8 +21,9 @@ check-runtest-no::
@echo "+++ runtest is unavailable."
@echo "+++"
+# Set VALGRIND at run time, that may be changed when running 'make'.
check-runtest-yes:: t_inetd site.exp
- $(RUNTEST) --tool krb --srcdir $(srcdir) $(KRB4_RUNTESTFLAGS) PRIOCNTL_HACK=@PRIOCNTL_HACK@ VALGRIND="$(VALGRIND)" $(RUNTESTFLAGS)
+ $(RUNTEST) --tool krb --srcdir $(srcdir) VALGRIND="$(VALGRIND)" $(RUNTESTFLAGS)
t_inetd:: t_inetd.o $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o t_inetd t_inetd.o $(KRB5_BASE_LIBS)
@@ -45,6 +46,8 @@ 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 PRIOCNTL_HACK @PRIOCNTL_HACK@" >> site.exp
+ echo set $(KRB4_RUNTESTFLAGS) | sed -e 's/=/ /' >> site.exp
# +++ Dependency line eater +++
#