bug-grep
[Top][All Lists]
Advanced

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

Re: [PATCH] fix hang in grep -F for empty string search


From: Jim Meyering
Subject: Re: [PATCH] fix hang in grep -F for empty string search
Date: Wed, 31 Mar 2010 11:51:38 +0200

Paolo Bonzini wrote:
> Subject: [PATCH 4/5] tests: improve empty test with respect to locales
>
> * tests/empty: Add tests for multiple locales.
> ---
>  tests/empty |   16 +++++++++-------
>  1 files changed, 9 insertions(+), 7 deletions(-)
>
> diff --git a/tests/empty b/tests/empty
> index 9bb78b3..cd0d3fa 100755
> --- a/tests/empty
> +++ b/tests/empty
> @@ -15,28 +15,30 @@ require_timeout_
>
>  failures=0
>
> -for options in '-E' '-E -w' '-F -x' '-G -w -x'; do
> +for locale in C en_US.UTF-8; do
> +    for options in '-E' '-E -w' '-F -x' '-G -w -x'; do

The more the merrier.
This looks fine and still passes for me.
Thanks!




reply via email to

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