From 4103d428a99bd9eca5aef0b9f37b2b7ff57d9e34 Mon Sep 17 00:00:00 2001 From: Evan Hunt Date: Thu, 30 Jul 2009 15:11:41 +0000 Subject: [PATCH] use genrandom to produce random data for input to ddns-confgen --- bin/tests/system/nsupdate/clean.sh | 3 ++- bin/tests/system/nsupdate/setup.sh | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bin/tests/system/nsupdate/clean.sh b/bin/tests/system/nsupdate/clean.sh index 127c4f4d10..abde14b879 100644 --- a/bin/tests/system/nsupdate/clean.sh +++ b/bin/tests/system/nsupdate/clean.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: clean.sh,v 1.14 2009/07/29 23:47:43 tbox Exp $ +# $Id: clean.sh,v 1.15 2009/07/30 15:11:41 each Exp $ # # Clean up after zone transfer tests. @@ -23,6 +23,7 @@ rm -f dig.out.ns1 dig.out.ns2 dig.out.ns1.after ns1/*.jnl ns2/*.jnl \ ns1/example.db ns1/update.db ns1/other.db +rm -f random.data rm -f ns2/example.bk rm -f ns2/update.bk rm -f */named.memstats diff --git a/bin/tests/system/nsupdate/setup.sh b/bin/tests/system/nsupdate/setup.sh index 7361a9adea..c051b1ce3d 100644 --- a/bin/tests/system/nsupdate/setup.sh +++ b/bin/tests/system/nsupdate/setup.sh @@ -15,7 +15,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: setup.sh,v 1.12 2009/07/29 23:47:43 tbox Exp $ +# $Id: setup.sh,v 1.13 2009/07/30 15:11:41 each Exp $ SYSTEMTESTTOP=.. . $SYSTEMTESTTOP/conf.sh @@ -45,4 +45,5 @@ update.nil. NS ns1.update.nil. ns1.update.nil. A 10.53.0.2 EOF -$DDNSCONFGEN -q -z example.nil > ns1/ddns.key +../../../tools/genrandom 400 random.data +$DDNSCONFGEN -q -r random.data -z example.nil > ns1/ddns.key