X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft7002-grep.sh;h=c8b4f65f380f3941c75bd6ed52975777d2b28d67;hb=7dde4bb3674da53dd9e33c741bea3fe680690a0d;hp=68b2b92879c5e187a33d34d3daf54bb3c131e40f;hpb=887ad79865d862a0a3aef4b59957d7dd95d0507d;p=git.git diff --git a/t/t7002-grep.sh b/t/t7002-grep.sh index 68b2b9287..c8b4f65f3 100755 --- 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