2977. [bug] 'nsupdate -l' report if the session key is missing.
[RT #21670]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.30 2010/11/30 23:46:55 tbox Exp $
|
||||
# $Id: tests.sh,v 1.31 2010/12/03 00:37:33 marka Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -239,5 +239,14 @@ $DIG +tcp +noadd +nosea +nostat +noquest +nocomm +nocmd updated4.example.nil.\
|
||||
@10.53.0.1 a -p 5300 > dig.out.ns1 || status=1
|
||||
$PERL ../digcomp.pl knowngood.ns1.afterstop dig.out.ns1 || status=1
|
||||
|
||||
ret=0
|
||||
echo "I:check that 'nsupdate -l' with a missing keyfile reports the missing file"
|
||||
$NSUPDATE -l -p 5300 -k ns1/nonexistant.key 2> nsupdate.out < /dev/null
|
||||
grep ns1/nonexistant.key nsupdate.out > /dev/null || ret=1
|
||||
if test $ret -ne 0
|
||||
then
|
||||
echo "I:failed"; status=1
|
||||
fi
|
||||
|
||||
echo "I:exit status: $status"
|
||||
exit $status
|
||||
|
||||
Reference in New Issue
Block a user