Paul Eggert wrote:
> Here's a proposed patch to fix a portability glitch
> in an expensive test case.
>
> * tests/big-match: Don't assume GNU dd extension "bs=1M".
> ---
>  tests/big-match |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/big-match b/tests/big-match
> index 1a3aeed..51e0ffd 100755
> --- a/tests/big-match
> +++ b/tests/big-match
> @@ -5,7 +5,7 @@
>  expensive_
>
>  # Create a one-line file containing slightly more than 2 GiB.
> -echo x | dd bs=1M seek=2048 >2G-plus-2 || framework_failure_
> +echo x | dd bs=1024k seek=2048 >2G-plus-2 || framework_failure_

Obviously good.  Thanks.

Reply via email to