#!/bin/sh
#
-# Copyright (C) 2004, 2007, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2007, 2010, 2012, 2015 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 2001 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
+ret=0
+n=`expr $n + 1`
+echo "I:test owner inheritence after "'$INCLUDE'" ($n)"
+$CHECKZONE -Dq example zone/inheritownerafterinclude.db > checkzone.out$n
+diff checkzone.out$n zone/inheritownerafterinclude.good || ret=1
+if [ $ret != 0 ]; then echo "I:failed"; fi
+status=`expr $status + $ret`
+
echo "I:exit status: $status"
exit $status
--- /dev/null
+; Copyright (C) 2015 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
+; copyright notice and this permission notice appear in all copies.
+;
+; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+; PERFORMANCE OF THIS SOFTWARE.
+
+@ 0 IN SOA . . 0 0 0 0 0
+$INCLUDE zone/nameservers.db
+ IN TXT "this should be at the zone apex"
--- /dev/null
+; Copyright (C) 2015 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
+; copyright notice and this permission notice appear in all copies.
+;
+; THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
+; REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+; AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
+; INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+; LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
+; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+; PERFORMANCE OF THIS SOFTWARE.
+
+@ IN NS .
./bin/tests/system/lwresd/ns1/root.db ZONE 2000,2001,2004,2007
./bin/tests/system/lwresd/resolv.conf CONF-SH 2000,2001,2004,2007,2012
./bin/tests/system/lwresd/tests.sh SH 2000,2001,2004,2007,2011,2012,2013,2014
-./bin/tests/system/masterfile/clean.sh SH 2001,2004,2007,2010,2012,2014
+./bin/tests/system/masterfile/clean.sh SH 2001,2004,2007,2010,2012,2014,2015
./bin/tests/system/masterfile/knowngood.dig.out X 2001,2004,2012
./bin/tests/system/masterfile/ns1/include.db ZONE 2001,2004,2007,2012
./bin/tests/system/masterfile/ns1/named.conf CONF-C 2001,2004,2007
./bin/tests/system/masterfile/ns1/ttl2.db ZONE 2001,2004,2007
./bin/tests/system/masterfile/ns2/example.db ZONE 2010
./bin/tests/system/masterfile/ns2/named.conf CONF-C 2010
-./bin/tests/system/masterfile/tests.sh SH 2001,2004,2007,2010,2012
+./bin/tests/system/masterfile/tests.sh SH 2001,2004,2007,2010,2012,2015
+./bin/tests/system/masterfile/zone/inheritownerafterinclude.db ZONE 2015
+./bin/tests/system/masterfile/zone/inheritownerafterinclude.good X 2015
+./bin/tests/system/masterfile/zone/nameservers.db ZONE 2015
./bin/tests/system/masterformat/clean.sh SH 2005,2007,2011,2012,2013,2014
./bin/tests/system/masterformat/ns1/compile.sh SH 2005,2006,2007,2011,2012,2013,2014
./bin/tests/system/masterformat/ns1/example.db ZONE 2005,2007,2014
./lib/isc/inet_ntop.c C 1996,1997,1998,1999,2000,2001,2004,2005,2007,2009
./lib/isc/inet_pton.c C 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2007,2013,2014
./lib/isc/iterated_hash.c C 2006,2008,2009
-./lib/isc/lex.c C 1998,1999,2000,2001,2002,2003,2004,2005,2007,2013,2014
+./lib/isc/lex.c C 1998,1999,2000,2001,2002,2003,2004,2005,2007,2013,2014,2015
./lib/isc/lfsr.c C 1999,2000,2001,2002,2004,2005,2007
./lib/isc/lib.c C 1999,2000,2001,2004,2005,2007,2009,2013,2014
./lib/isc/log.c C 1999,2000,2001,2002,2003,2004,2005,2006,2007,2009,2011,2012,2013,2014