[RFC PATCHv2 12/16] t6050 (replace): add missing &&
FIXME: Is the grep really meant to fail?
Signed-off-by: Elijah Newren <newren@gmail.com>
---
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