~ubuntu-branches/ubuntu/natty/bind9/natty-updates

« back to all changes in this revision

Viewing changes to bin/tests/system/checkconf/tests.sh

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Internet Software Consortium, Inc, LaMont Jones
  • Date: 2010-06-21 09:53:30 UTC
  • mfrom: (1.6.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20100621095330-k6874kbj59lfo3xm
Tags: 1:9.7.1.dfsg-1
[Internet Software Consortium, Inc]

* 9.7.1

[LaMont Jones]

* Add freebsd support.  Closes: #578447
* soname changes
* freshen root cache.  LP: #596363

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2005, 2007  Internet Systems Consortium, Inc. ("ISC")
 
1
# Copyright (C) 2005, 2007, 2010  Internet Systems Consortium, Inc. ("ISC")
2
2
#
3
3
# Permission to use, copy, modify, and/or distribute this software for any
4
4
# purpose with or without fee is hereby granted, provided that the above
12
12
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
# PERFORMANCE OF THIS SOFTWARE.
14
14
 
15
 
# $Id: tests.sh,v 1.3 2007/06/19 23:47:01 tbox Exp $
 
15
# $Id: tests.sh,v 1.3.558.2 2010/06/02 01:27:20 tbox Exp $
16
16
 
17
17
SYSTEMTESTTOP=..
18
18
. $SYSTEMTESTTOP/conf.sh
26
26
if [ $ret != 0 ]; then echo "I:failed"; fi
27
27
status=`expr $status + $ret`
28
28
 
 
29
echo "I: checking that named-checkconf prints a known good config"
 
30
ret=0
 
31
$CHECKCONF -p good.conf > /dev/null 2>&1 || ret=1
 
32
if [ $ret != 0 ]; then echo "I:failed"; fi
 
33
status=`expr $status + $ret`
29
34
echo "I: checking that named-checkconf handles a known bad config"
30
35
 
31
36
ret=1