summaryrefslogtreecommitdiff
path: root/tests/fate-run.sh
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-05-14 22:31:08 +0100
committerMans Rullgard <mans@mansr.com>2012-05-15 19:47:18 +0100
commit11e33402ca0ed949241133aef1959f8d937982a5 (patch)
tree1a763ea0f9c98f3540f56612c66757c1542df600 /tests/fate-run.sh
parent46ea46357a1f9adf7a8266125308803d00024b75 (diff)
fate: use standard diff options
diff -w is not a standard option. This fixes the reference files to match what the tests actually output and switches to using the standard diff -b which is sufficient to handle different line ending styles. Signed-off-by: Mans Rullgard <mans@mansr.com>
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 636fc2d599..a933fa1ab7 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -157,7 +157,7 @@ fi
if test -e "$ref" || test $cmp = "oneline" ; then
case $cmp in
- diff) diff -u -w "$ref" "$outfile" >$cmpfile ;;
+ diff) diff -u -b "$ref" "$outfile" >$cmpfile ;;
oneoff) oneoff "$ref" "$outfile" >$cmpfile ;;
stddev) stddev "$ref" "$outfile" >$cmpfile ;;
oneline)oneline "$ref" "$outfile" >$cmpfile ;;