# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: clean.sh,v 1.10 2012/01/10 23:46:58 tbox Exp $
+# $Id: clean.sh,v 1.11 2012/01/16 08:35:08 marka Exp $
rm -f */named.memstats
rm -f */named.run
rm -f ns5/bits.bk.jnl
rm -f ns5/bits.bk.signed
rm -f ns5/bits.bk.signed.jnl
-rm -f */*.jbk
+# rm -f */*.jbk
rm -f random.data
rm -f dig.out.ns*.test*
rm -f signing.out*
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
-; $Id: master.db.in,v 1.2 2011/10/26 20:56:45 marka Exp $
+; $Id: master.db.in,v 1.3 2012/01/16 08:35:09 marka Exp $
$TTL 300 ; 5 minutes
-@ IN SOA ns2 . (
+@ IN SOA ns3 . (
2000042407 ; serial
20 ; refresh (20 seconds)
20 ; retry (20 seconds)
; OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
; PERFORMANCE OF THIS SOFTWARE.
-; $Id: master2.db.in,v 1.2 2011/10/26 20:56:45 marka Exp $
+; $Id: master2.db.in,v 1.3 2012/01/16 08:35:09 marka Exp $
$TTL 300 ; 5 minutes
-@ IN SOA ns2 . (
+@ IN SOA ns3 . (
2000042408 ; serial
20 ; refresh (20 seconds)
20 ; retry (20 seconds)
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: tests.sh,v 1.14 2012/01/12 00:37:18 each Exp $
+# $Id: tests.sh,v 1.15 2012/01/16 08:35:09 marka Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
+n=`expr $n + 1`
+echo "I:update master zone while shutdown ($n)"
+cp ns3/master3.db.in ns3/master.db
+
n=`expr $n + 1`
echo "I:restart bump in the wire signer server ($n)"
ret=0
if [ $ret != 0 ]; then echo "I:failed"; fi
status=`expr $status + $ret`
+
+####n=`expr $n + 1`
+####echo "I:checking that update while server is offline is detected ($n)"
+####ret=0
+####$DIG $DIGOPTS @10.53.0.3 -p 5300 f.master A > dig.out.ns2.test$n
+####grep "status: NOERROR" dig.out.ns2.test$n > /dev/null || ret=1
+####grep "ANSWER: 2," dig.out.ns2.test$n > /dev/null || ret=1
+####grep "10.0.0.6" dig.out.ns2.test$n > /dev/null || ret=1
+####if [ $ret != 0 ]; then echo "I:failed"; fi
+####status=`expr $status + $ret`
+
$NSUPDATE << EOF
zone bits
server 10.53.0.2 5300