From: Mark Andrews Date: Mon, 7 Apr 2014 11:53:47 +0000 (+1000) Subject: use perl X-Git-Tag: v9.10.0rc1~5 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=5b60bde47bb7328944d7b654083ef77d3f17c2f6;p=thirdparty%2Fbind9.git use perl --- diff --git a/bin/tests/system/dnssec/tests.sh b/bin/tests/system/dnssec/tests.sh index 473e1f1e5a6..a83266c80ed 100644 --- a/bin/tests/system/dnssec/tests.sh +++ b/bin/tests/system/dnssec/tests.sh @@ -2454,7 +2454,7 @@ time=`awk 'BEGIN { m["Jan"] = "01"; m["Feb"] = "02"; m["Mar"] = "03"; $DIG $DIGOPTS +noall +answer $name @10.53.0.3 -p 5300 > dig.out.test$n expire=`awk '$4 == "RRSIG" { print $9 }' dig.out.test$n` inception=`awk '$4 == "RRSIG" { print $10 }' dig.out.test$n` -test "$time" "<" "$expire" -a "$time" ">" "$inception" || ret=1 +$PERL -e 'exit(0) if ("'"$time"'" lt "'"$expire"'" && "'"$time"'" gt "'"$inception"'"); exit(1);' || ret=1 n=`expr $n + 1` if [ $ret != 0 ]; then echo "I:failed"; fi status=`expr $status + $ret`