Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff.c: split emit_line() from the first char and the rest of the line
[gitweb.git]
/
t
/
t7002-grep.sh
diff --git
a/t/t7002-grep.sh
b/t/t7002-grep.sh
index 5e359cb561b6d6f7c1bae678b7b823ed2ce34cf1..087bacb89747bb3da7fc3f7ab3fe08bacea91d52 100755
(executable)
--- a/
t/t7002-grep.sh
+++ b/
t/t7002-grep.sh
@@
-26,6
+26,10
@@
test_expect_success setup '
git commit -m initial
'
+test_expect_success 'grep should not segfault with a bad input' '
+ test_must_fail git grep "("
+'
+
for H in HEAD ''
do
case "$H" in