From: Willem Jan Withagen Date: Mon, 26 Jun 2017 11:23:59 +0000 (+0200) Subject: test/osd/osd-scrub-repair.sh: Fix diff options X-Git-Tag: v12.1.2~1^2~36^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F15914%2Fhead;p=ceph.git test/osd/osd-scrub-repair.sh: Fix diff options Signed-off-by: Willem Jan Withagen --- diff --git a/src/test/osd/osd-scrub-repair.sh b/src/test/osd/osd-scrub-repair.sh index 968acc72cbb7..8ab73cfd6fc2 100755 --- a/src/test/osd/osd-scrub-repair.sh +++ b/src/test/osd/osd-scrub-repair.sh @@ -1907,7 +1907,7 @@ function corrupt_scrub_erasure() { EOF jq "$jqfilter" $dir/json | python -c "$sortkeys" | sed -e "$sedfilter" > $dir/csjson - diff -y $termwidth $dir/checkcsjson $dir/csjson || test $getjson = "yes" || return 1 + diff ${DIFFCOLOPTS} $dir/checkcsjson $dir/csjson || test $getjson = "yes" || return 1 if test $getjson = "yes" then jq '.' $dir/json > save3.json @@ -2491,7 +2491,7 @@ EOF fi jq "$jqfilter" $dir/json | python -c "$sortkeys" | sed -e "$sedfilter" > $dir/csjson - diff -y $termwidth $dir/checkcsjson $dir/csjson || test $getjson = "yes" || return 1 + diff ${DIFFCOLOPTS} $dir/checkcsjson $dir/csjson || test $getjson = "yes" || return 1 if test $getjson = "yes" then if [ "$allow_overwrites" = "true" ]