]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfstests: Change the diff output of failed tests
authorLukas Czerner <lczerner@redhat.com>
Tue, 10 Apr 2012 08:38:33 +0000 (10:38 +0200)
committerBen Myers <bpm@sgi.com>
Thu, 17 Jan 2013 22:43:19 +0000 (16:43 -0600)
commit11c1d79414e257131a00c273a93c5f4db010269b
treeb8afbac4db7cbd88caab3b5174b12fcfd77cfda5
parent244295ab8aba303aba49588b5adfd5f9aadc5b80
xfstests: Change the diff output of failed tests

Currently the entire diff is printed to the stdout in the case that the
test output template differs from the actual test run. However in some
cases the diff can be _very_ long. This commit changes it so that we
print only first 10 lines of the diff.

Also indent the diff output from the left by four spaces for better
output readability.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Ben Myers <bpm@sgi.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
check