Re: [PATCH] grep: Don't pass a TODO test if REG_STARTEND is supported
From: Junio C Hamano <hidden> Date: 2016-06-15 22:49:06
Ævar Arnfjörð Bjarmason [off-list ref] writes:
+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...