4075. [bug] Increase nsupdate's input buffer to accomodate

very large RRs. [RT #38689]
This commit is contained in:
Mark Andrews
2015-02-27 12:26:58 +11:00
parent 96d8c8e0af
commit 36b67292b3
5 changed files with 32 additions and 2 deletions

View File

@@ -532,5 +532,16 @@ if [ $ret -ne 0 ]; then
status=1
fi
n=`expr $n + 1`
ret=0
echo "I:add a very large record. ($n)"
$NSUPDATE verylarge || ret=1
$DIG +noedns +tcp @10.53.0.1 -p 5300 txt txt.update.nil > dig.out.ns1.test$n
grep "ANSWER: 1," dig.out.ns1.test$n > /dev/null || ret=1
if [ $ret -ne 0 ]; then
echo "I:failed"
status=1
fi
echo "I:exit status: $status"
exit $status