diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-01 20:43:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-01 20:43:33 +0000 |
commit | 480dd24717eefea70db319059376a3fe675d5ab4 (patch) | |
tree | b70babe73696f769415ff6fb0bad180bb24ab9ca /src/dht | |
parent | 0b7f2ef0ea8b060d7da36419295e62b29835c376 (diff) | |
download | gnunet-480dd24717eefea70db319059376a3fe675d5ab4.tar.gz gnunet-480dd24717eefea70db319059376a3fe675d5ab4.zip |
LRN: Fix test_dht_tools.sh to ignore CRs when diffing
Diffstat (limited to 'src/dht')
-rwxr-xr-x | src/dht/test_dht_tools.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
63 | stop_arm | 63 | stop_arm |
64 | exit 1 | 64 | exit 1 |
65 | fi | 65 | fi |
66 | if ! diff -q $out $checkout ; then | 66 | |
67 | if ! diff --strip-trailing-cr -q $out $checkout ; then | ||
67 | echo "FAIL: $out and $checkout differ" | 68 | echo "FAIL: $out and $checkout differ" |
68 | stop_arm | 69 | stop_arm |
69 | exit 1 | 70 | exit 1 |