summaryrefslogtreecommitdiff
path: root/t/t7610-mergetool.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2017-01-18 23:12:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-18 23:12:15 (GMT)
commitc7f352f31ad0593f7772a155980b16cbbaac3dec (patch)
treec64eb97b8d3846244a534e36ba89093c070da124 /t/t7610-mergetool.sh
parentfe9ec8bdf65657c11f08f8858bb2a707bdf7aafe (diff)
parentc6f44e1da5e88e34654ae37c62eea2d08835110b (diff)
downloadgit-c7f352f31ad0593f7772a155980b16cbbaac3dec.zip
git-c7f352f31ad0593f7772a155980b16cbbaac3dec.tar.gz
git-c7f352f31ad0593f7772a155980b16cbbaac3dec.tar.bz2
Merge branch 'pb/test-must-fail-is-for-git'
Test cleanup. * pb/test-must-fail-is-for-git: t9813: avoid using pipes don't use test_must_fail with grep
Diffstat (limited to 't/t7610-mergetool.sh')
-rwxr-xr-xt/t7610-mergetool.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7610-mergetool.sh b/t/t7610-mergetool.sh
index 63d36fb..0fe7e58 100755
--- a/t/t7610-mergetool.sh
+++ b/t/t7610-mergetool.sh
@@ -602,7 +602,7 @@ test_expect_success MKTEMP 'temporary filenames are used with mergetool.writeToT
test_config mergetool.myecho.trustExitCode true &&
test_must_fail git merge master &&
git mergetool --no-prompt --tool myecho -- both >actual &&
- test_must_fail grep ^\./both_LOCAL_ actual >/dev/null &&
+ ! grep ^\./both_LOCAL_ actual >/dev/null &&
grep /both_LOCAL_ actual >/dev/null &&
git reset --hard master >/dev/null 2>&1
'