Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
BIND
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
607
Issues
607
List
Boards
Labels
Service Desk
Milestones
Merge Requests
114
Merge Requests
114
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ISC Open Source Projects
BIND
Commits
df59681b
Commit
df59681b
authored
Dec 21, 2015
by
Curtis Blackburn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[rt40109] added a test for +dscp to the digdelv tests
parent
0226754d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
bin/tests/system/digdelv/tests.sh
bin/tests/system/digdelv/tests.sh
+11
-0
No files found.
bin/tests/system/digdelv/tests.sh
View file @
df59681b
...
...
@@ -267,6 +267,17 @@ if [ -x ${DIG} ] ; then
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
n
=
`
expr
$n
+ 1
`
echo
"I:checking dig +dscp (
$n
)"
ret
=
0
$DIG
$DIGOPTS
@10.53.0.3 +dscp
=
32 a a.example
>
/dev/null 2>&1
||
ret
=
1
$DIG
$DIGOPTS
@10.53.0.3 +dscp
=
-1
a a.example
>
/dev/null 2>&1
&&
ret
=
1
$DIG
$DIGOPTS
@10.53.0.3 +dscp
=
64 a a.example
>
/dev/null 2>&1
&&
ret
=
1
#TODO add a check to make sure dig is actually setting the dscp on the query
#we might have to add better logging to named for this
if
[
$ret
!=
0
]
;
then
echo
"I:failed"
;
fi
status
=
`
expr
$status
+
$ret
`
else
echo
"
$DIG
is needed, so skipping these dig tests"
fi
...
...
Write
Preview
Markdown
is supported
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