From: Elijah Newren Date: Fri, 24 Sep 2010 22:22:52 GMT Subject: [RFC PATCHv2 12/16] t6050 (replace): add missing && Message-ID: <1285366976-22216-13-git-send-email-newren@gmail.com> In-Reply-To: <1285366976-22216-1-git-send-email-newren@gmail.com> FIXME: Is the grep really meant to fail? Signed-off-by: Elijah Newren --- t/t6050-replace.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/t/t6050-replace.sh b/t/t6050-replace.sh index c907523..b0d47bc 100755 --- a/t/t6050-replace.sh +++ b/t/t6050-replace.sh @@ -205,8 +205,8 @@ test_expect_success 'fetch branch with replacement' ' git branch tofetch $HASH6 && ( cd clone_dir && - git fetch origin refs/heads/tofetch:refs/heads/parallel3 - git log --pretty=oneline parallel3 | grep $PARA3 + git fetch origin refs/heads/tofetch:refs/heads/parallel3 && + git log --pretty=oneline parallel3 | test_must_fail grep $PARA3 && git show $PARA3 | grep "A U Thor" ) ' -- 1.7.3.95.g14291