svn rev #25288: trunk/src/tests/
tsitkova@MIT.EDU
tsitkova at MIT.EDU
Thu Sep 29 17:35:19 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25288
Commit By: tsitkova
Log Message:
Allow kdc_realm test run in case when the build and source directories are different
Changed Files:
U trunk/src/tests/Makefile.in
Modified: trunk/src/tests/Makefile.in
===================================================================
--- trunk/src/tests/Makefile.in 2011-09-29 20:16:46 UTC (rev 25287)
+++ trunk/src/tests/Makefile.in 2011-09-29 21:35:18 UTC (rev 25288)
@@ -1,7 +1,7 @@
mydir=tests
BUILDTOP=$(REL)..
SUBDIRS = resolve asn.1 create hammer verify gssapi dejagnu shlib \
- gss-threads misc mkeystash_compat
+ gss-threads misc mkeystash_compat kdc_realm
RUN_SETUP = @KRB5_RUN_ENV@ KRB5_KDC_PROFILE=kdc.conf KRB5_CONFIG=krb5.conf
KRB5_RUN_ENV= @KRB5_RUN_ENV@
@@ -18,8 +18,14 @@
KADMIN_OPTS= -d $(TEST_DB) -r $(TEST_REALM) -P $(TEST_MKEY)
KTEST_OPTS= $(KADMIN_OPTS) -p $(TEST_PREFIX) -n $(TEST_NUM) -D $(TEST_DEPTH)
-check-unix:: kdb_check
+check-unix:: kdb_check kdc_realm_check
+kdc_realm_check:
+ cp -R $(top_srcdir)/tests/kdc_realm kdc_realm_tmp
+ rm -rf kdc_realm
+ cp -R kdc_realm_tmp kdc_realm
+ rm -rf kdc_realm_tmp
+
kdc.conf: Makefile
rm -rf kdc.conf
@echo "[realms]" > kdc.conf
More information about the cvs-krb5
mailing list