bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] tests: port big-match to non-GNU dd


From: Jim Meyering
Subject: Re: [PATCH] tests: port big-match to non-GNU dd
Date: Mon, 12 Mar 2012 09:20:35 +0100

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

[Prev in Thread] Current Thread [Next in Thread]