handle different eol coventions

This commit is contained in:
Mark Andrews
2018-01-31 10:05:40 +11:00
parent bc89b287c9
commit a2c693ab3b

View File

@@ -66,7 +66,7 @@ echo "I:checking re-configured value ($n)"
ret=0
n=`expr $n + 1`
$RNDCCMD tcp-timeouts 300 300 300 200 > output
diff output expected || ret=1
diff -b output expected || ret=1
$DIG +vc +keepalive foo.example @10.53.0.2 -p 5300 > dig.out.test$n
grep "; TCP KEEPALIVE: 20.0 secs" dig.out.test$n > /dev/null || ret=1
if [ $ret != 0 ]; then echo "I:failed"; fi