Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Petr Menšík
BIND
Commits
35fb45af
Commit
35fb45af
authored
Nov 22, 2000
by
Andreas Gustafsson
Browse files
when checking whether the TC flag is set, ignore the other
flags - in particular, we don't care whether the AD flag is set or not
parent
1697c110
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/limits/tests.sh
View file @
35fb45af
...
...
@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: tests.sh,v 1.1
1
2000/11/2
0 17:53:28
gson Exp $
# $Id: tests.sh,v 1.1
2
2000/11/2
2 01:21:44
gson Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -51,7 +51,10 @@ $PERL ../digcomp.pl knowngood.dig.out.a-maximum-rrset dig.out.ns1 || status=1
echo
"I:exceed maximum rrset (5000 A records)"
$DIG
+tcp +norec 5000.example. @10.53.0.1 a
-p
5300
>
dig.out.ns1
||
status
=
1
# Look for truncation bit (tc).
grep
'flags: qr aa tc ad;'
dig.out.ns1
>
/dev/null
||
status
=
1
grep
'flags: .*tc.*;'
dig.out.ns1
>
/dev/null
||
{
echo
"I:TC bit was not set"
status
=
1
}
echo
"I:exit status:
$status
"
exit
$status
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment