]> Pileus Git - ~andy/git/commit
grep: Add basic tests
authorMichał Kiedrowicz <michal.kiedrowicz@gmail.com>
Mon, 9 May 2011 21:52:07 +0000 (23:52 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 May 2011 23:29:54 +0000 (16:29 -0700)
commit8f852ce613650b0cccf02adecbc18865d8e21fb6
treeb86012dbb1d7b5d691f241331608a1c8611d7f33
parenta119f91e57f23f89b1f9170613d517d62a91c97d
grep: Add basic tests

This modest patch adds simple tests for git grep -P/--perl-regexp and
its interoperation with -i and -w.

Tests are only enabled when prerequisite LIBPCRE is defined (it's
automatically set based on USE_LIBPCRE in test-lib.sh).

Signed-off-by: Michał Kiedrowicz <michal.kiedrowicz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/README
t/t7810-grep.sh
t/test-lib.sh