2014-01-21 18:46:16 -05:00
|
|
|
# Copyright (C) 2005-2007, 2011-2014 Internet Systems Consortium, Inc. ("ISC")
|
2012-06-28 21:39:47 -04:00
|
|
|
#
|
|
|
|
|
# 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.
|
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
|