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
5337a9e5
Commit
5337a9e5
authored
Nov 22, 2000
by
Andreas Gustafsson
Browse files
added regression test for RT #482 (which will fail
until the bug is fixed)
parent
a6dbd6b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/nsupdate/tests.sh
View file @
5337a9e5
...
...
@@ -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
5
2000/11/2
1 23:41:25 mws
Exp $
# $Id: tests.sh,v 1.1
6
2000/11/2
2 18:26:30 gson
Exp $
SYSTEMTESTTOP
=
..
.
$SYSTEMTESTTOP
/conf.sh
...
...
@@ -93,5 +93,46 @@ $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd example.nil.\
echo
"I:comparing zones"
$PERL
../digcomp.pl dig.out.ns1 dig.out.ns1.after
||
status
=
1
echo
"I:begin RT #482 regression test"
echo
"I:update master"
$NSUPDATE
<<
END
> /dev/null || status=1
server 10.53.0.1 5300
update add updated2.example.nil. 600 A 10.10.10.2
update add updated2.example.nil. 600 TXT Bar
update delete c.example.nil.
send
END
sleep
5
echo
"I:SIGHUP slave"
kill
-HUP
`
cat
ns2/named.pid
`
sleep
5
echo
"I:update master again"
$NSUPDATE
<<
END
> /dev/null || status=1
server 10.53.0.1 5300
update add updated3.example.nil. 600 A 10.10.10.3
update add updated3.example.nil. 600 TXT Zap
update delete d.example.nil.
send
END
sleep
5
echo
"I:SIGHUP slave again"
kill
-HUP
`
cat
ns2/named.pid
`
sleep
5
if
grep
"out of sync"
ns2/named.run
then
status
=
1
fi
echo
"I:end RT #482 regression test"
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