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
583
Issues
583
List
Boards
Labels
Service Desk
Milestones
Merge Requests
110
Merge Requests
110
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
82fd772d
Commit
82fd772d
authored
Mar 06, 2018
by
Evan Hunt
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-notify' into 'master'
fix notify test See merge request
!77
parents
e5084909
3eb90582
Pipeline
#542
passed with stages
in 13 minutes and 16 seconds
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
+12
-3
CHANGES
CHANGES
+3
-0
bin/tests/system/notify/clean.sh
bin/tests/system/notify/clean.sh
+2
-1
bin/tests/system/notify/tests.sh
bin/tests/system/notify/tests.sh
+7
-2
No files found.
CHANGES
View file @
82fd772d
4907. [test] Improved the reliabilty of the 'notify' system
test. [GL #59]
4906. [func] Replace getquad() with inet_pton(), completing
change #4900. [GL #56]
...
...
bin/tests/system/notify/clean.sh
View file @
82fd772d
...
...
@@ -14,7 +14,7 @@
#
rm
-f
*
/named.memstats
rm
-f
*
/named.run
rm
-f
*
/named.run
*
/named.run.prev
rm
-f
*
/named.conf
rm
-f
*
/named.port
rm
-f
dig.out.?.ns5.test
*
...
...
@@ -32,3 +32,4 @@ rm -f ns5/x21.bk-b.jnl
rm
-f
ns5/x21.bk-c
rm
-f
ns5/x21.bk-c.jnl
rm
-f
ns5/x21.db.jnl
rm
-f
tmp
bin/tests/system/notify/tests.sh
View file @
82fd772d
...
...
@@ -62,6 +62,8 @@ awk '$1 > 5 { exit(1) }' log.out || ret=1
[
$ret
=
0
]
||
echo_i
"failed"
status
=
`
expr
$ret
+
$status
`
nextpart ns3/named.run
>
/dev/null
sleep
1
# make sure filesystem time stamp is newer for reload.
rm
-f
ns2/example.db
cp
-f
ns2/example2.db ns2/example.db
...
...
@@ -72,11 +74,13 @@ else
echo_i
"reloading with example2 using rndc and waiting up to 45 seconds"
$RNDCCMD
10.53.0.2 reload 2>&1 |
sed
's/^/I:ns2 /'
fi
try
=
0
while
test
$try
-lt
45
do
nextpart ns3/named.run
>
tmp
grep
'transfer of '
example/IN
' from 10.53.0.2#.*success'
tmp
>
/dev/null
&&
break
sleep
1
grep
'notify from 10.53.0.2#[0-9][0-9]*: serial 2$'
ns3/named.run
>
/dev/null
&&
break
try
=
`
expr
$try
+ 1
`
done
...
...
@@ -121,8 +125,9 @@ $PERL $SYSTEMTESTTOP/start.pl --noclean --restart --port ${PORT} . ns2
try
=
0
while
test
$try
-lt
45
do
nextpart ns3/named.run
>
tmp
grep
'transfer of '
example/IN
' from 10.53.0.2#.*success'
tmp
>
/dev/null
&&
break
sleep
1
grep
'notify from 10.53.0.2#[0-9][0-9]*: serial 4$'
ns3/named.run
>
/dev/null
&&
break
try
=
`
expr
$try
+ 1
`
done
...
...
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