From 7af963fad68f8cedba7c0f627b7187a24e4ae706 Mon Sep 17 00:00:00 2001 From: Zhanna Tsitkov Date: Thu, 29 Sep 2011 21:35:18 +0000 Subject: [PATCH] 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 --- src/tests/Makefile.in | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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 -- 2.26.2