From: Eugene Syromyatnikov Date: Sun, 2 Jul 2017 18:03:09 +0000 (+0300) Subject: tests: use unified diff in order to improve test log readability X-Git-Tag: v4.18~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d465949e4cf707753d4352e34a5c97632bb2b0c;p=strace tests: use unified diff in order to improve test log readability * tests/init.sh (match_diff): Add -u option to the diff invocation. --- diff --git a/tests/init.sh b/tests/init.sh index 28447654..013a33d9 100644 --- a/tests/init.sh +++ b/tests/init.sh @@ -169,7 +169,7 @@ match_diff() check_prog diff - diff -- "$expected" "$output" || + diff -u -- "$expected" "$output" || fail_ "$error" }