aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-17 23:56:40 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-17 23:56:40 -0700
commita017f27dcbe6b4f9c8760ccc8a7e248c680b6a23 (patch)
tree1798b752d9e8cd1bac23d5ab60884ec2b818953d /t
parent9269df96105dff5ecc137b598ac7664d218ac6be (diff)
parentd99ebf081797dbb43ff618ff59f4c607b0acf045 (diff)
downloadgit-a017f27dcbe6b4f9c8760ccc8a7e248c680b6a23.tar.gz
git-a017f27dcbe6b4f9c8760ccc8a7e248c680b6a23.tar.xz
Merge branch 'jc/grep-c' into maint
* jc/grep-c: Split grep arguments in a way that does not requires to add /dev/null.
Diffstat (limited to 't')
-rwxr-xr-xt/t7002-grep.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh
index 6bfb899ed..68b2b9287 100755
--- a/t/t7002-grep.sh
+++ b/t/t7002-grep.sh
@@ -107,6 +107,10 @@ do
diff expected actual
'
+ test_expect_failure "grep -c $L (no /dev/null)" '
+ git grep -c test $H | grep -q "/dev/null"
+ '
+
done
test_done