]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Fix awk compatibility issue in rndc system test
authorWitold Krecicki <wpk@isc.org>
Sat, 7 May 2016 11:33:51 +0000 (13:33 +0200)
committerWitold Krecicki <wpk@isc.org>
Sat, 7 May 2016 11:33:51 +0000 (13:33 +0200)
bin/tests/system/rndc/setup.sh

index dbfed115cad5d88995ec7e1a03ac39f085a287fe..defd869b923744ab16434c470460e7ba5b9e5e2f 100644 (file)
@@ -27,7 +27,7 @@ $SHELL ../genzone.sh 2 >ns2/static.db
 
 $SHELL ../genzone.sh 2 >ns6/huge.zone.db
 awk 'END { for (i = 1; i <= 1000000; i++)
-     printf "host%u IN A 10.53.0.6\n", i; }' < /dev/null >> ns6/huge.zone.db
+     printf "host%d IN A 10.53.0.6\n", i; }' < /dev/null >> ns6/huge.zone.db
 
 cat ns4/named.conf.in > ns4/named.conf
 cat ns6/named.conf.in > ns6/named.conf