Re: [PATCH] grep: Don't pass a TODO test if REG_STARTEND is supported
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 8, 2010, 19:40 UTC
- Message-ID
- <7viq4ppxt9.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1278549735-19278-1-git-send-email-avarab@gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> writes:
Show 6 quoted lines
> +if git grep ile a > +then > + test_expect_success 'git grep ile a' 'git grep ile a' > +else > + test_expect_failure 'git grep ile a' 'git grep ile a' > +fi
So if command "X" is known to succeed, we run it inside expect_success and if not we run it inside expect_failure?
What kind of idiocy is that, I have to wonder...