From: Zhanna Tsitkov Date: Thu, 29 Sep 2011 21:35:18 +0000 (+0000) Subject: Allow kdc_realm test run in case when the build and source directories are different X-Git-Tag: krb5-1.10-alpha1~87 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7af963fad68f8cedba7c0f627b7187a24e4ae706;p=krb5.git Allow kdc_realm test run in case when the build and source directories are different git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25288 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in index 59272f2ff..e30872f2f 100644 --- a/src/tests/Makefile.in +++ b/src/tests/Makefile.in @@ -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,7 +18,13 @@ TEST_PREFIX = "foo bar" 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