]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
handle different eol coventions
authorMark Andrews <marka@isc.org>
Tue, 30 Jan 2018 23:05:40 +0000 (10:05 +1100)
committerMark Andrews <marka@isc.org>
Tue, 30 Jan 2018 23:05:40 +0000 (10:05 +1100)
bin/tests/system/keepalive/tests.sh

index 148ef3296db61955599ab3cda57fdf2e3d7cad19..448ed470b330c9479197353a6e65828fccc8f3fd 100644 (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