From 480dd24717eefea70db319059376a3fe675d5ab4 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 1 Aug 2011 20:43:33 +0000 Subject: [PATCH] LRN: Fix test_dht_tools.sh to ignore CRs when diffing --- src/dht/test_dht_tools.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.25.1