[PATCH v2] xfstests: make length of diff output configurable

Ben Myers bpm at sgi.com
Wed Jan 23 16:24:41 CST 2013


Hi David,

On Wed, Jan 23, 2013 at 12:14:33PM +0100, David Sterba wrote:
> In commit 11c1d79414e2571 "xfstests: Change the diff output of failed
> tests", the diff output of a failed test was hardcoded to 10 lines to
> avoid overly long output and user can get the full output by manually
> running the diff. However this is not always possible and convenient,
> eg. in repeated automated tests where the required information is lost
> after the test round finished. Then the caputred logs do not contain
> enough informatin for analysis.

Ah, sorry for any inconvenience.

> Introduce the DIFF_LENGTH env variable to tune the diff size, keeping it
> 10 as deafult and 0 to disable the limit.
> 
> Signed-off-by: David Sterba <dsterba at suse.cz>

What you have here looks good.

Reviewed-by: Ben Myers <bpm at sgi.com>

Regards,
	Ben



More information about the xfs mailing list