2016-06-27 00:56:38 -04:00
|
|
|
# Copyright (C) 2005-2007, 2011-2014, 2016 Internet Systems Consortium, Inc. ("ISC")
|
2012-06-28 21:39:47 -04:00
|
|
|
#
|
2016-06-27 00:56:38 -04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2005-06-19 21:05:33 -04:00
|
|
|
|
2014-01-20 19:08:09 -05:00
|
|
|
SYSTEMTESTTOP=..
|
|
|
|
|
. $SYSTEMTESTTOP/conf.sh
|
|
|
|
|
|
2014-04-09 23:29:52 -04:00
|
|
|
test -r $RANDFILE || $GENRANDOM 400 $RANDFILE
|
2005-06-19 21:05:33 -04:00
|
|
|
|
2011-12-08 11:07:22 -05:00
|
|
|
rm -f named-compilezone
|
2005-06-19 21:05:33 -04:00
|
|
|
ln -s $CHECKZONE named-compilezone
|
2013-06-14 13:16:10 -04:00
|
|
|
|
2006-01-06 01:53:57 -05:00
|
|
|
rm -f ns1/example.db.raw
|
2005-06-19 21:05:33 -04:00
|
|
|
cp ns1/example.db ns2/
|
2011-10-26 11:23:37 -04:00
|
|
|
cp ns2/formerly-text.db.in ns2/formerly-text.db
|
2012-02-13 18:46:24 -05:00
|
|
|
cp ns1/large.db.in ns1/large.db
|
|
|
|
|
awk 'END {
|
|
|
|
|
for (i = 0; i < 512; i++ ) { print "a TXT", i; }
|
|
|
|
|
for (i = 0; i < 1024; i++ ) { print "b TXT", i; }
|
|
|
|
|
for (i = 0; i < 2000; i++ ) { print "c TXT", i; }
|
|
|
|
|
}' < /dev/null >> ns1/large.db
|
2014-05-07 01:06:04 -04:00
|
|
|
cd ns1 && $SHELL compile.sh
|