summaryrefslogtreecommitdiff
path: root/t/t7810-grep.sh
diff options
context:
space:
mode:
authorJared Hance <jaredhance@gmail.com>2010-07-20 23:18:34 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-07-20 23:47:17 (GMT)
commitce14e0b264b31dd02a0c9d1688bceb6579d052fa (patch)
tree6496dde81c7a512ee30b90afff7f5c9914093dfb /t/t7810-grep.sh
parentc5212b87dafb3f559ceb898bd9b40bfc3cd0ad68 (diff)
downloadgit-ce14e0b264b31dd02a0c9d1688bceb6579d052fa.zip
git-ce14e0b264b31dd02a0c9d1688bceb6579d052fa.tar.gz
git-ce14e0b264b31dd02a0c9d1688bceb6579d052fa.tar.bz2
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-xt/t7810-grep.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh
index 8a63227..023f225 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
'