Lines Matching refs:DIGNM
68 # set DIGNM=file name for dig output
73 DIGNM=dig.out$GROUP_NM-$TEST_NUM
74 while test -f $DIGNM; do
76 DIGNM=dig.out$GROUP_NM-$TEST_NUM
204 if grep "flags:.* aa .*ad;" $DIGNM; then
206 elif grep "flags:.* aa .*ad;" $DIGNM; then
209 if $PERL $SYSTEMTESTTOP/digcomp.pl $DIGNM $2 >/dev/null; then
211 RESULT_TCP=`sed -n -e 's/.*Truncated, retrying in TCP.*/TCP/p' $DIGNM`
213 setret "I:'dig $1' wrong; no or unexpected truncation in $DIGNM"
216 clean_result ${DIGNM}*
219 setret "I:'dig $1' wrong; diff $DIGNM $2"
238 >$DIGNM
247 | sed -e 's/^[a-z].* IN CNAME /;xxx &/' >$DIGNM
257 digcmd $2 >$DIGNM
260 ADDR_TTL=`sed -n -e "s/^[-.a-z0-9]\{1,\} *\([0-9]*\) IN AA* ${ADDR_ESC}\$/\1/p" $DIGNM`
262 setret "I:'dig $2' wrong; no address $ADDR record in $DIGNM"
266 setret "I:'dig $2' wrong; TTL=$ADDR_TTL instead of $3 in $DIGNM"
269 clean_result ${DIGNM}*
278 digcmd $* >$DIGNM
279 digcmd $* @$ns1 >${DIGNM}_OK
280 ckresult "$*" ${DIGNM}_OK && clean_result ${DIGNM}_OK
286 sed -e 's/^[ ]*//' >${DIGNM}_OK
287 digcmd $* >$DIGNM
288 ckresult "$*" ${DIGNM}_OK
295 digcmd $* >$DIGNM
296 if grep "$DROPPED" $DIGNM >/dev/null; then
297 clean_result ${DIGNM}*
300 setret "I:'dig $1' wrong; response in $DIGNM"