Re: [RESEND PATCH v2 0/5] t: replace incorrect test_must_fail usage (part 6)
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 7, 2020, 20:57 UTC
- Message-ID
- <xmqq7dvf3uwc.fsf@gitster.c.googlers.com>
- In-Reply-To
- <xmqqblkr3x6q.fsf@gitster.c.googlers.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
>> Changes since v1: >> >> * Add a code comment to force_color() >> >> * Do not allow nested env's in test_must_fail_acceptable() >> >> * Clean up the env-processing case code >> >> * Give an example on how to use `!`. > > Thanks for a resend. Now part #5 is in 'master', I can queue these > directly on top.
It seems that the patch series lacks coverage for t9400 where we have
test_expect_success 'cvs server does not run with vanilla git-shell' ' ( cd cvswork && CVS_SERVER=$WORKDIR/remote-cvs && export CVS_SERVER && test_must_fail cvs log merge ) '
which obviously needs to be converted before we declare that it is a hard error to feed a non-git command to test_must_fail.