Commit b2ebbaf4 authored by Ondřej Surý's avatar Ondřej Surý Committed by Ondřej Surý
Browse files

Adjust digdelv tests for default 1232 EDNS Buffer Size

* digdelv test was just expecting default server EDNS buffer size to be
  4096, the test needed only slight adjustment

(cherry picked from commit f1556f8c)
parent 58a518ad
......@@ -964,8 +964,10 @@ if [ -x "$DIG" ] ; then
echo_i "check that dig +bufsize restores default bufsize ($n)"
dig_with_opts @ a.example +bufsize=0 +bufsize +qr > dig.out.test$n 2>&1 || ret=1
lines=`grep "EDNS:.* udp: 4096" dig.out.test$n | wc -l`
test $lines -eq 2 || ret=1
lines1232=`grep "EDNS:.* udp: 1232" dig.out.test$n | wc -l`
lines4096=`grep "EDNS:.* udp: 4096" dig.out.test$n | wc -l`
test $lines1232 -eq 1 || ret=1
test $lines4096 -eq 1 || ret=1
if [ $ret -ne 0 ]; then echo_i "failed"; fi
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment