On Tue, May 15, 2012 at 11:52:31AM +0100, Mans Rullgard wrote:
> This is simpler and should take care of any problems with mixed
> line ending styles.
> 
> --- a/tests/fate-run.sh
> +++ b/tests/fate-run.sh
> @@ -61,9 +61,7 @@ stddev(){
>  
>  oneline(){
> -    val=$(cat "$2")
> -    test x"$val" = x"$1" || { r=$?; printf -- '-%s\n+%s\n' "$ref" "$val"; }
> -    return ${r:-0}
> +    printf '%s\n' "$1" | diff -u -b - "$2"
>  }

LGTM

I'm looking forward to the end of the latest installment of the eternal
trollwar saga ...

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to