3283. [bug] Raw zones with with more than 512 records in a RRset

failed to load. [RT #27863]
This commit is contained in:
Mark Andrews
2012-02-13 23:46:24 +00:00
parent 3f261b3f7d
commit 4c34112a69
9 changed files with 80 additions and 12 deletions

View File

@@ -14,7 +14,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.12 2012/02/01 23:46:51 tbox Exp $
# $Id: tests.sh,v 1.13 2012/02/13 23:46:23 marka Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
@@ -88,7 +88,7 @@ status=`expr $status + $ret`
echo "I:waiting for transfers to complete"
for i in 0 1 2 3 4 5 6 7 8 9
do
test -f ns2/transfer.db.raw -a -f ns2/transfer.db.txt && break
test -f ns2/transfer.db.raw -a -f ns2/transfer.db.txt && break
sleep 1
done
@@ -116,5 +116,15 @@ done
[ $ret -eq 0 ] || echo "I:failed"
status=`expr $status + $ret`
echo "I:checking that large rdatasets loaded"
ret=0
for a in a b c
do
$DIG +tcp txt ${a}.large @10.53.0.2 -p 5300 > dig.out
grep "status: NOERROR" dig.out > /dev/null || ret=1
done
[ $ret -eq 0 ] || echo "I:failed"
status=`expr $status + $ret`
echo "I:exit status: $status"
exit $status