Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-am-keep' into maint
[gitweb.git]
/
t
/
t7002-grep.sh
diff --git
a/t/t7002-grep.sh
b/t/t7002-grep.sh
index ae5290ab43e8b51b32331768371e2a67d700064d..3a103fec96407e0311bb8724660096548ae6923e 100755
(executable)
--- a/
t/t7002-grep.sh
+++ b/
t/t7002-grep.sh
@@
-14,6
+14,7
@@
int main(int argc, const char **argv)
{
printf("Hello world.\n");
return 0;
+ /* char ?? */
}
EOF
@@
-411,4
+412,13
@@
test_expect_success 'grep from a subdirectory to search wider area (2)' '
)
'
+cat >expected <<EOF
+hello.c:int main(int argc, const char **argv)
+EOF
+
+test_expect_success 'grep -Fi' '
+ git grep -Fi "CHAR *" >actual &&
+ test_cmp expected actual
+'
+
test_done