From: Christian Grothoff Date: Mon, 1 Aug 2011 20:43:33 +0000 (+0000) Subject: LRN: Fix test_dht_tools.sh to ignore CRs when diffing X-Git-Tag: initial-import-from-subversion-38251~17547 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=480dd24717eefea70db319059376a3fe675d5ab4;p=oweals%2Fgnunet.git LRN: Fix test_dht_tools.sh to ignore CRs when diffing --- diff --git a/src/dht/test_dht_tools.sh b/src/dht/test_dht_tools.sh index 68c0613a4..f83c26a1a 100755 --- a/src/dht/test_dht_tools.sh +++ b/src/dht/test_dht_tools.sh @@ -63,7 +63,8 @@ if ! $getexe -k testkey -T 5 -t 8 > $out ; then stop_arm exit 1 fi -if ! diff -q $out $checkout ; then + +if ! diff --strip-trailing-cr -q $out $checkout ; then echo "FAIL: $out and $checkout differ" stop_arm exit 1