summaryrefslogtreecommitdiff
path: root/t/t5516-fetch-push.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-18 15:12:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-18 15:12:15 -0800
commitc7f352f31ad0593f7772a155980b16cbbaac3dec (patch)
treec64eb97b8d3846244a534e36ba89093c070da124 /t/t5516-fetch-push.sh
parentMerge branch 'bw/pathspec-cleanup' (diff)
parentt9813: avoid using pipes (diff)
downloadtgif-c7f352f31ad0593f7772a155980b16cbbaac3dec.tar.xz
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/t5516-fetch-push.sh')
-rwxr-xr-xt/t5516-fetch-push.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t5516-fetch-push.sh b/t/t5516-fetch-push.sh
index 26b2cafc47..0fc5a7c596 100755
--- a/t/t5516-fetch-push.sh
+++ b/t/t5516-fetch-push.sh
@@ -1004,7 +1004,7 @@ test_expect_success 'push --porcelain' '
test_expect_success 'push --porcelain bad url' '
mk_empty testrepo &&
test_must_fail git push >.git/bar --porcelain asdfasdfasd refs/heads/master:refs/remotes/origin/master &&
- test_must_fail grep -q Done .git/bar
+ ! grep -q Done .git/bar
'
test_expect_success 'push --porcelain rejected' '