Re: [PATCH v2 1/2] rev-parse tests: add tests executed from a subdirectory
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 17, 2017, 16:57 UTC
- Message-ID
- <alpine.DEB.2.20.1702171755470.3496@virtualbox>
- In-Reply-To
- <xmqqpoipkd3l.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Fri, 10 Feb 2017, Junio C Hamano wrote:
Show 18 quoted lines
> Johannes Schindelin <johannes.schindelin@gmx.de> writes: > > > diff --git a/t/t1700-split-index.sh b/t/t1700-split-index.sh > > index 292a0720fcc..1d6e27a09d8 100755 > > --- a/t/t1700-split-index.sh > > +++ b/t/t1700-split-index.sh > > @@ -200,4 +200,21 @@ EOF > > test_cmp expect actual > > ' > > > > +test_expect_failure 'rev-parse --shared-index-path' ' > > + rm -rf .git && > > + test_create_repo . && > > Another thing that I notice only after merging this and other topics > to 'pu' was that this piece needs to always come at the end of the > script because of this removal. It would make the test more robust > to create a test repository for this test and work inside it.
Yes, this is indeed unnecessary and even undesirable.
I waited a couple of days to give the original author a chance to fix this. As I want a fix really badly (because I am really embarrassed of this bug), I adjusted t1700 appropriately and will send out v3 in a second.
Ciao, Johannes