replaced update.scp with a here document

This commit is contained in:
Andreas Gustafsson 2000-11-20 17:59:20 +00:00
parent bca6ff69a7
commit 28002bd7cb
3 changed files with 8 additions and 12 deletions

View file

@ -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.13 2000/11/20 17:53:33 gson Exp $
# $Id: tests.sh,v 1.14 2000/11/20 17:59:20 gson Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
@ -36,7 +36,13 @@ $PERL ../digcomp.pl knowngood.ns1.before dig.out.ns2 || status=1
echo "I:updating zone"
# nsupdate will print a ">" prompt to stdout as it gets each input line.
$NSUPDATE < update.scp > /dev/null || status=1
$NSUPDATE <<END > /dev/null || status=1
server 10.53.0.1 5300
update add updated.example.nil. 600 A 10.10.10.1
update add updated.example.nil. 600 TXT Foo
update delete t.example.nil.
END
echo "I:sleeping 15 seconds for server to incorporate changes"
sleep 15
@ -87,9 +93,5 @@ $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:performing RT #482 regression test"
echo "I:exit status: $status"
exit $status

View file

@ -1,5 +0,0 @@
server 10.53.0.1 5300
update add updated.example.nil. 600 A 10.10.10.1
update add updated.example.nil. 600 TXT Foo
update delete t.example.nil.

View file

@ -457,7 +457,6 @@
./bin/tests/system/nsupdate/ns2/named.conf CONF-C 2000
./bin/tests/system/nsupdate/setup.sh SH 2000
./bin/tests/system/nsupdate/tests.sh SH 2000
./bin/tests/system/nsupdate/update.scp X 2000
./bin/tests/system/nsupdate/update_test.pl PERL 2000
./bin/tests/system/relay/README TXT.BRIEF 2000
./bin/tests/system/relay/clean.sh SH 2000