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>
This commit is contained in:
@@ -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 ;;
|
||||
|
||||
Reference in New Issue
Block a user