From: Curtis Blackburn Date: Fri, 15 Jan 2016 22:35:12 +0000 (-0800) Subject: rrl test was failing on some systems because not all versions of perl understand... X-Git-Tag: v9.11.0a1~194 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3948d9c7c69c2992706e564a0255e77037f33b5f;p=thirdparty%2Fbind9.git rrl test was failing on some systems because not all versions of perl understand '-E'. changed to '-e' --- diff --git a/bin/tests/system/rrl/tests.sh b/bin/tests/system/rrl/tests.sh index a9e83b6c5b7..1e0f9ef3770 100644 --- a/bin/tests/system/rrl/tests.sh +++ b/bin/tests/system/rrl/tests.sh @@ -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