diff options
author | Mans Rullgard <mans@mansr.com> | 2012-05-15 01:31:08 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-05-15 22:47:18 +0400 |
commit | 11e33402ca0ed949241133aef1959f8d937982a5 (patch) | |
tree | 1a763ea0f9c98f3540f56612c66757c1542df600 /tests/fate-run.sh | |
parent | 46ea46357a1f9adf7a8266125308803d00024b75 (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-x | tests/fate-run.sh | 2 |
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 ;; |