]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence dos2unix messages
authorMark Andrews <marka@isc.org>
Fri, 9 Aug 2019 01:04:33 +0000 (11:04 +1000)
committerMark Andrews <marka@isc.org>
Wed, 4 Sep 2019 00:04:14 +0000 (10:04 +1000)
bin/tests/system/keymgr/tests.sh
bin/tests/system/xfer/tests.sh

index 4f027c1a01403f349f318d05b8297201d6e9a045..3089ee56fd6b1b3736e0771e24acabfb96683996 100644 (file)
@@ -134,7 +134,7 @@ n=`expr $n + 1`
 echo_i "checking policy.conf parser ($n)"
 ret=0
 ${PYTHON} testpolicy.py policy.sample > policy.out
-$DOS2UNIX policy.out > /dev/null
+$DOS2UNIX policy.out > /dev/null 2>&1
 cmp -s policy.good policy.out || ret=1
 if [ $ret != 0 ]; then echo_i "failed"; fi
 status=`expr $status + $ret`
index b54f94ebde8fbd5e66aa984bbc89bafc048fd1ca..11a27cb364f5a2068ec7dff2b620a0a220f4dc74 100755 (executable)
@@ -410,7 +410,7 @@ echo_i "test smaller transfer TCP message size ($n)"
 $DIG $DIGOPTS example. @10.53.0.8 axfr \
        -y key1.:1234abcd8765 > dig.out.msgsize || status=1
 
-$DOS2UNIX dig.out.msgsize >/dev/null
+$DOS2UNIX dig.out.msgsize >/dev/null 2>&1
 
 bytes=`wc -c < dig.out.msgsize`
 if [ $bytes -ne 459357 ]; then