update to 9.7.1-P2
[tridge/bind9.git] / bin / tests / system / checkconf / tests.sh
index 8444664b76a27ad087ae054d8fa7c32aadc6f464..ce818126ba9ed117fb169de92ebd41670828ed0d 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2005, 2007, 2010  Internet Systems Consortium, Inc. ("ISC")
 #
 # Permission to use, copy, modify, and/or distribute this software for any
 # purpose with or without fee is hereby granted, provided that the above
@@ -12,7 +12,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.3 2007/06/19 23:47:01 tbox Exp $
+# $Id: tests.sh,v 1.3.558.2 2010/06/02 01:27:20 tbox Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -26,6 +26,11 @@ $CHECKCONF good.conf > /dev/null 2>&1 || ret=1
 if [ $ret != 0 ]; then echo "I:failed"; fi
 status=`expr $status + $ret`
 
+echo "I: checking that named-checkconf prints a known good config"
+ret=0
+$CHECKCONF -p good.conf > /dev/null 2>&1 || ret=1
+if [ $ret != 0 ]; then echo "I:failed"; fi
+status=`expr $status + $ret`
 echo "I: checking that named-checkconf handles a known bad config"
 
 ret=1