From: David Sterba Date: Fri, 24 Jan 2014 01:04:33 +0000 (+1100) Subject: xfstests: don't suggest to run full diff when DIFF_LENGTH is 0 X-Git-Tag: v2022.05.01~3274 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=80622a6b4aaee6b4b72c09530367ca7ca3542a3f;p=users%2Fhch%2Fxfstests-dev.git xfstests: don't suggest to run full diff when DIFF_LENGTH is 0 If DIFF_LENGTH is set to 0, the full output is available and the message does not make sense. Signed-off-by: David Sterba Reviewed-by: Dave Chinner Signed-off-by: Dave Chinner --- diff --git a/check b/check index 61fb91b82..e8d39438a 100755 --- a/check +++ b/check @@ -510,11 +510,11 @@ do cat else head -n "$DIFF_LENGTH" + echo "..." + echo "(Run '$diff $seq.out $seqres.out.bad'" \ + " to see the entire diff)" fi; } | \ sed -e 's/^\(.\)/ \1/' - echo " ..." - echo " (Run '$diff $seq.out $seqres.out.bad' to see the" \ - "entire diff)" err=true fi fi