summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-03 23:54:01 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-04 01:02:06 +0200
commitb78e75ebc9b03bea8f0c48da266ee6cc0fb8e22d (patch)
treee732b3ffcda8c49bd5517bcbdebb2bd03db96c68 /tests/fate-run.sh
parent560612344edf8f44c4528b2c13801f8c25c5a059 (diff)
fate: Force diff into text mode
On openbsd the exif-image-jpg test fails but diff treats the files as binary due to some non ascii symbols in them. This should force it to treat them as text, which should result in more informative output Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/fate-run.sh')
-rwxr-xr-xtests/fate-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 52ddc22300..71eff804e7 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -225,7 +225,7 @@ fi
if test -e "$ref" || test $cmp = "oneline" ; then
case $cmp in
- diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
+ diff) diff -u -a -b "$ref" "$outfile" >$cmpfile ;;
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
oneline)oneline "$ref" "$outfile" >$cmpfile ;;