DIG -> $DIG

This commit is contained in:
Mark Andrews 2012-12-08 15:33:10 +11:00
parent 75b97fd979
commit 05854fc4c2

View file

@ -156,14 +156,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`