From 9c209cc2568f23be5373bd46bf459f9bd9328ee1 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Sat, 4 Oct 2008 22:01:42 -0700 Subject: [PATCH] performtest: use -u with diff Unified diffs are the only sane option. When calling diff, pass the -u option. Signed-off-by: H. Peter Anvin --- test/performtest.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/performtest.pl b/test/performtest.pl index 5574fc6..78e22f6 100755 --- a/test/performtest.pl +++ b/test/performtest.pl @@ -100,7 +100,7 @@ sub perform { if($diff) { for(@failedfiles) { if($_ eq $stdoutfile or $_ eq $stderrfile) { - system "diff golden/$testname/$subname/$_ $outputdir/$testname/$subname/$_"; + system "diff -u golden/$testname/$subname/$_ $outputdir/$testname/$subname/$_"; print "\n"; } } -- 2.7.4