]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
rrl test was failing on some systems because not all versions of perl understand...
authorCurtis Blackburn <ckb@isc.org>
Fri, 15 Jan 2016 22:35:12 +0000 (14:35 -0800)
committerCurtis Blackburn <ckb@isc.org>
Fri, 15 Jan 2016 22:35:12 +0000 (14:35 -0800)
bin/tests/system/rrl/tests.sh

index a9e83b6c5b7f73c82eec60e84707486a378f8c67..1e0f9ef3770e81e4fd40133218afeb0ae36e2bf0 100644 (file)
@@ -105,7 +105,7 @@ burst () {
 
 # compare integers $1 and $2; ensure the difference is no more than $3
 range () {
-    $PERL -E 'if (abs(int($ARGV[0]) - int($ARGV[1])) > int($ARGV[2])) { exit(1) }' $1 $2 $3
+    $PERL -e 'if (abs(int($ARGV[0]) - int($ARGV[1])) > int($ARGV[2])) { exit(1) }' $1 $2 $3
 }
 
 #   $1=domain  $2=IP address  $3=# of IP addresses  $4=TC  $5=drop