Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-bisect.sh: don't accidentally override existing branch "bisect"
[gitweb.git]
/
t
/
t7002-grep.sh
diff --git
a/t/t7002-grep.sh
b/t/t7002-grep.sh
index 68b2b92879c5e187a33d34d3daf54bb3c131e40f..c8b4f65f380f3941c75bd6ed52975777d2b28d67 100755
(executable)
--- a/
t/t7002-grep.sh
+++ b/
t/t7002-grep.sh
@@
-107,8
+107,8
@@
do
diff expected actual
'
-
test_expect_failure
"grep -c $L (no /dev/null)" '
- git grep -c test $H | grep -q "/dev/null"
+
test_expect_success
"grep -c $L (no /dev/null)" '
+ ! git grep -c test $H | grep -q /dev/null
'
done