TT#17656 Print the file diff when the files in the test suite differ

Just stating that the files differ is not very helpful, we should get a
proper diff of what is expected and what we got.

Change-Id: I955301650ef0ad6dce0df64473678a3e8dc5a1d5
changes/11/13911/1
Guillem Jover 9 years ago
parent 2ab2a94830
commit b22e72cc88

@ -40,6 +40,7 @@ assertEqualFiles() {
OK "$count" "$2" >> "$OUTPUT"
else
echo "files $1 and $2 do not match" >&2
diff -u "$1" "$2" >&2
FAIL "$count" "$2 # $2 differs from $1" >> "$OUTPUT"
return 1
fi

Loading…
Cancel
Save