From: Junio C Hamano <gitster@pobox.com>
To: "Michał Kiedrowicz" <michal.kiedrowicz@gmail.com>
Cc: Git List <git@vger.kernel.org>
Subject: Re: [PATCH] git-grep: Update tests (mainly for -P)
Date: Mon, 23 May 2011 11:57:04 -0700 [thread overview]
Message-ID: <7vei3pt3yj.fsf@alter.siamese.dyndns.org> (raw)
In-Reply-To: 1306064248-23092-1-git-send-email-michal.kiedrowicz@gmail.com
Michał Kiedrowicz <michal.kiedrowicz@gmail.com> writes:
> This patch adds few more tests to git-grep concerning the
> -P/--perl-regexp option.
>
> While at it, add some generic tests for grep.extendedRegexp config
> option, for detecting invalid regexep and check if "last one wins" rule
> works for selecting regexp type.
>
> Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
> ---
> This is the promised update to tests and is meant to be applied on top of
> mk/grep-pcre.
Thanks, will queue.
> t/t7810-grep.sh | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 1 files changed, 85 insertions(+), 0 deletions(-)
>
> diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
> index e845218..e061108 100755
> --- a/t/t7810-grep.sh
> +++ b/t/t7810-grep.sh
> @@ -32,6 +32,11 @@ test_expect_success setup '
> echo Hello_world
> echo HeLLo_world
> } >hello_world &&
> + {
> + echo aab
> + echo a+b
> + echo a\\+b
> + } >ab &&
At some point it would be a good idea to clean these up to use either
cascading && or
cat >ab <<\-EOF &&
...
EOF
everywhere.
prev parent reply other threads:[~2011-05-23 23:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-22 11:37 [PATCH] git-grep: Update tests (mainly for -P) Michał Kiedrowicz
2011-05-23 18:57 ` Junio C Hamano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7vei3pt3yj.fsf@alter.siamese.dyndns.org \
--to=gitster@pobox.com \
--cc=git@vger.kernel.org \
--cc=michal.kiedrowicz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).