* Makefile.in (TEST_PROGS): Add t_locate_kdc.
authorKen Raeburn <raeburn@mit.edu>
Tue, 19 Oct 2004 02:15:37 +0000 (02:15 +0000)
committerKen Raeburn <raeburn@mit.edu>
Tue, 19 Oct 2004 02:15:37 +0000 (02:15 +0000)
(check-unix): Run t_locate_kdc to test fetching DNS SRV records.

We probably don't want this test to be part of this test suite long-term, since
it relies on external DNS data rather than being self-contained.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16826 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/Makefile.in

index f75f0c053fe6109ed294016660028ec2cb44e354..c21764ccd4c78bd5199934593980aad7ba7f5998 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-18  Ken Raeburn  <raeburn@mit.edu>
+
+       * Makefile.in (TEST_PROGS): Add t_locate_kdc.
+       (check-unix): Run t_locate_kdc to test fetching DNS SRV records.
+
 2004-10-06  Ken Raeburn  <raeburn@mit.edu>
 
        * localaddr.c (foreach_localaddr): Be more careful not to walk
index 785b0df8978b6075af6ee67819ad9ce97e38a09b..9e78e533166b4554302887966f6d75d84fa4c293 100644 (file)
@@ -153,7 +153,7 @@ clean-unix:: clean-libobjs
 shared:
        mkdir shared
 
-TEST_PROGS= t_std_conf t_an_to_ln
+TEST_PROGS= t_std_conf t_an_to_ln t_locate_kdc
 
 T_STD_CONF_OBJS= t_std_conf.o def_realm.o get_krbhst.o realm_dom.o \
                hst_realm.o init_os_ctx.o locate_kdc.o dnsglue.o 
@@ -200,6 +200,8 @@ check-unix:: $(TEST_PROGS)
                -r pgp.good.idea -r no_domain > test.out
        cmp test.out $(srcdir)/ref_std_conf.out
        $(RM) test.out
+       KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
+       $(KRB5_RUN_ENV) ./t_locate_kdc ATHENA.MIT.EDU
 
 #
 # Do some aname-to-lname testing.