From: Evan Hunt Date: Thu, 30 Jul 2009 15:11:41 +0000 (+0000) Subject: use genrandom to produce random data for input to ddns-confgen X-Git-Tag: v9.7.0a2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4103d428a99bd9eca5aef0b9f37b2b7ff57d9e34;p=thirdparty%2Fbind9.git use genrandom to produce random data for input to ddns-confgen --- diff --git a/bin/tests/system/nsupdate/clean.sh b/bin/tests/system/nsupdate/clean.sh index 127c4f4d10d..abde14b8792 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 7361a9adea6..c051b1ce3d6 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