summaryrefslogtreecommitdiffstats
path: root/src/tests/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2013-08-05 16:10:10 -0400
committerGreg Hudson <ghudson@mit.edu>2013-08-15 12:39:58 -0400
commit7ad5f3bfd8b57d2f4c001182792e25968309ca8a (patch)
tree56092fc925f574c72c9f0a0afae396ed5387c093 /src/tests/Makefile.in
parent4f7f1fce6edca17db625d76c1f81ea098f29c313 (diff)
downloadkrb5-7ad5f3bfd8b57d2f4c001182792e25968309ca8a.tar.gz
krb5-7ad5f3bfd8b57d2f4c001182792e25968309ca8a.tar.xz
krb5-7ad5f3bfd8b57d2f4c001182792e25968309ca8a.zip
Add hostrealm interface tests
Create a test module for the hostrealm interface, a harness to call the realm mapping functions and display their results, and a Python script to exercise the functionality of the interface and each module (except the dns module, which we cannot easily test since it relies on TXT records in the public DNS). ticket: 7687
Diffstat (limited to 'src/tests/Makefile.in')
-rw-r--r--src/tests/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/tests/Makefile.in b/src/tests/Makefile.in
index 5828a9021..3525b48ad 100644
--- a/src/tests/Makefile.in
+++ b/src/tests/Makefile.in
@@ -26,6 +26,9 @@ gcred: gcred.o $(KRB5_BASE_DEPLIBS)
hist: hist.o $(KDB5_DEPLIBS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $@ hist.o $(KDB5_LIBS) $(KADMSRV_LIBS) $(KRB5_BASE_LIBS)
+hrealm: hrealm.o $(KRB5_BASE_DEPLIBS)
+ $(CC_LINK) -o $@ hrealm.o $(KRB5_BASE_LIBS)
+
kdbtest: kdbtest.o $(KDB5_DEPLIBS) $(KADMSRV_DEPLIBS) $(KRB5_BASE_DEPLIBS)
$(CC_LINK) -o $@ kdbtest.o $(KDB5_LIBS) $(KADMSRV_LIBS) \
$(KRB5_BASE_LIBS)
@@ -84,7 +87,8 @@ kdb_check: kdc.conf krb5.conf
$(RUN_SETUP) $(VALGRIND) ../kadmin/dbutil/kdb5_util $(KADMIN_OPTS) destroy -f
$(RM) $(TEST_DB)* stash_file
-check-pytests:: gcred hist kdbtest plugorder responder t_init_creds t_localauth
+check-pytests:: gcred hist hrealm kdbtest plugorder responder
+check-pytests:: t_init_creds t_localauth
$(RUNPYTEST) $(srcdir)/t_general.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_dump.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_iprop.py $(PYTESTFLAGS)
@@ -95,6 +99,7 @@ check-pytests:: gcred hist kdbtest plugorder responder t_init_creds t_localauth
$(RUNPYTEST) $(srcdir)/t_localauth.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_kadm5_hook.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_pwqual.py $(PYTESTFLAGS)
+ $(RUNPYTEST) $(srcdir)/t_hostrealm.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_kdb_locking.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_keyrollover.py $(PYTESTFLAGS)
$(RUNPYTEST) $(srcdir)/t_renew.py $(PYTESTFLAGS)
@@ -115,6 +120,6 @@ check-pytests:: gcred hist kdbtest plugorder responder t_init_creds t_localauth
$(RUNPYTEST) $(srcdir)/t_cve-2013-1417.py $(PYTESTFLAGS)
clean::
- $(RM) gcred hist kdbtest plugorder responder t_init_creds t_localauth
- $(RM) krb5.conf kdc.conf
+ $(RM) gcred hist hrealm kdbtest plugorder responder
+ $(RM) t_init_creds t_localauth krb5.conf kdc.conf
$(RM) -rf kdc_realm/sandbox ldap