diff options
author | Jared Hance <jaredhance@gmail.com> | 2010-07-20 19:18:34 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-07-20 16:47:17 -0700 |
commit | ce14e0b264b31dd02a0c9d1688bceb6579d052fa (patch) | |
tree | 6496dde81c7a512ee30b90afff7f5c9914093dfb /t/t7810-grep.sh | |
parent | c5212b87dafb3f559ceb898bd9b40bfc3cd0ad68 (diff) | |
download | git-ce14e0b264b31dd02a0c9d1688bceb6579d052fa.tar.gz |
Convert "! git" to "test_must_fail git"
test_must_fail will account for segfaults in git, so it should be used
instead of "! git"
This patch does not change any of the commands that use pipes.
Signed-off-by: Jared Hance <jaredhance@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t7810-grep.sh')
-rwxr-xr-x | t/t7810-grep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index 8a6322765c..023f225a4b 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -65,7 +65,7 @@ do test_expect_success "grep -w $L (w)" ' : >expected && - ! git grep -n -w -e "^w" >actual && + test_must_fail git grep -n -w -e "^w" >actual && test_cmp expected actual ' |