DIG -> $DIG

This commit is contained in:
Mark Andrews 2012-12-08 15:33:10 +11:00
parent e85702ce5b
commit fe898ea0ee

View file

@ -174,14 +174,14 @@ status=`expr $status + $ret`
echo "I:check that '"'"\\#"'"' is not treated as the unknown escape sequence"
ret=0
DIG $DIGOPTS @10.53.0.1 +tcp +short txt8.example txt > dig.out
$DIG $DIGOPTS @10.53.0.1 +tcp +short txt8.example txt > dig.out
echo '"#" "2" "0145"' | diff - dig.out || ret=1
[ $ret = 0 ] || echo "I: failed"
status=`expr $status + $ret`
echo "I:check that '"'TXT \# text'"' is not treated as the unknown escape sequence"
ret=0
DIG $DIGOPTS @10.53.0.1 +tcp +short txt9.example txt > dig.out
$DIG $DIGOPTS @10.53.0.1 +tcp +short txt9.example txt > dig.out
echo '"#" "text"' | diff - dig.out || ret=1
[ $ret = 0 ] || echo "I: failed"
status=`expr $status + $ret`