author | Michał Kiedrowicz <michal.kiedrowicz@gmail.com> | |
Mon, 9 May 2011 21:52:07 +0000 (23:52 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 May 2011 23:29:54 +0000 (16:29 -0700) | ||
commit | 8f852ce613650b0cccf02adecbc18865d8e21fb6 | |
tree | b86012dbb1d7b5d691f241331608a1c8611d7f33 | tree | snapshot |
parent | a119f91e57f23f89b1f9170613d517d62a91c97d | commit | diff |
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>
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 | diff | blob | history | |
t/t7810-grep.sh | diff | blob | history | |
t/test-lib.sh | diff | blob | history |