svn rev #24140: trunk/src/lib/krb5/os/

tlyu@MIT.EDU tlyu at MIT.EDU
Mon Jun 21 11:25:39 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24140
Commit By: tlyu
Log Message:
ticket: 6744

Make OFFLINE!=no work again.


Changed Files:
U   trunk/src/lib/krb5/os/Makefile.in
Modified: trunk/src/lib/krb5/os/Makefile.in
===================================================================
--- trunk/src/lib/krb5/os/Makefile.in	2010-06-21 15:18:37 UTC (rev 24139)
+++ trunk/src/lib/krb5/os/Makefile.in	2010-06-21 15:25:38 UTC (rev 24140)
@@ -213,13 +213,16 @@
 NSLOOKUP = @NSLOOKUP@
 
 check-unix-locate:: t_locate_kdc
-	if [ "$(OFFLINE)" = no ] && \
-	    $(DIG) $(SRVNAME) srv | grep -i $(DIGPAT) || \
-	    $(NSLOOKUP) -q=srv $(SRVNAME) | grep -i $(NSPAT); then \
-	    KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
-	    $(KRB5_RUN_ENV) $(VALGRIND) ./t_locate_kdc $(LOCREALM); \
+	if [ "$(OFFLINE)" = no ]; then \
+	    if $(DIG) $(SRVNAME) srv | grep -i $(DIGPAT) || \
+		$(NSLOOKUP) -q=srv $(SRVNAME) | grep -i $(NSPAT); then \
+		KRB5_CONFIG=$(srcdir)/td_krb5.conf ; export KRB5_CONFIG ;\
+		$(KRB5_RUN_ENV) $(VALGRIND) ./t_locate_kdc $(LOCREALM); \
+	    else \
+		echo '*** WARNING: skipped t_locate_kdc test: known DNS name not found'; \
+	    fi; \
 	else \
-	    echo '*** WARNING: skipped t_locate_kdc test: known DNS name not found'; \
+		echo '*** WARNING: skipped t_locate_kdc test: OFFLINE'; \
 	fi
 
 #




More information about the cvs-krb5 mailing list