2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 14:07:59 +00:00

[master] use $DIG not dig

This commit is contained in:
Evan Hunt
2016-05-26 18:39:07 -07:00
parent d7ab0204e2
commit e3f231023c

View File

@@ -46,13 +46,13 @@ status=`expr $status + $ret`
echo "I:check repeated recursive lookups of non recurring zero ttl responses get new values"
count=`(
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
dig +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
$DIG +short -p 5300 @10.53.0.3 foo.increment
) | sort -u | wc -l `
if [ $count -ne 7 ] ; then echo "I:failed (count=$count)"; ret=1; fi
status=`expr $status + $ret`